Approve Application
Details#
This endpoint is used to approve a company Application, specified by applicationId.
URL : /applications/company/:applicationId/approve
Method :
POST
Authentication
Auth is required an Admin to approve applications.
Response#
Object
Information about the account created for the approved company.
Request examples#
Example 1 - Valid Request (Logged-in as Admin)#
Code :
200 OK
- Request
- Response
Example 2 - Logged-in as Company#
Code :
401 UNAUTHORIZED
- Request
- Response
Example 3 - Non-Existing Application#
Code :
422 UNPROCESSABLE ENTITY
- Request
- Response
Example 4 - Application Already Reviewed#
Code :
409 CONFLICT
- Request
- Response