Reject organization application
Reject a pending organization application with a specified reason. The rejection reason is added as a comment to the application.
Required Permissions:
- Role: ADMIN
Business Rules:
- Application must be in PENDING status
- Rejection reason is required and must be provided
- Reason must not exceed 200 characters
Path parameters
-
External ID of the application to reject
Minimum length is
36
, maximum length is36
. Format should match the following pattern:^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
.
PUT
/organizations/applications/{application-id}/reject
curl \
--request PUT 'http://api.example.com/organizations/applications/123e4567-e89b-12d3-a456-426614174000/reject?reason=Incomplete+documentation+provided'
Response examples (200)
{
"message": "Application rejected successfully"
}