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

{
"rejectReason": "The motivation of the company is not convincing"
}

Example 2 - Logged-in as Company#

Code :

401 UNAUTHORIZED

{
"rejectReason": "The motivation of the company is not convincing"
}

Example 3 - Non-Existing Application#

Code :

422 UNPROCESSABLE ENTITY

/applications/company/631a18cf8e61e0acea76e5e1/reject

Example 4 - Application Already Reviewed#

Code :

409 CONFLICT

{
"rejectReason": "The motivation of the company is not convincing"
}