Reject Application
Details#
This endpoint is used to reject a company Application, specified by applicationId.
URL : /applications/company/:applicationId/reject
Method :
POST
Authentication
Auth is required an Admin to reject applications.
Parameters#
rejectReason#
Body Parameter
Required
String
Min Length: 10
Max Length: 1500
Reason for the application to be rejected. Only meant to be used internally between admins.
Response#
Object
Information about the application just rejected.
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