Reject organization application

PUT /organizations/applications/{application-id}/reject

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

  • application-id string Required

    External ID of the application to reject

    Minimum length is 36, maximum length is 36. 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}$.

Query parameters

  • reason string Required

    Reason for rejecting the application

    Minimum length is 1, maximum length is 200.

Responses

  • 200 application/json

    Application rejected successfully

    Hide response attribute Show response attribute object
    • message string
  • 400
  • 401
  • 403
  • 404
  • 409
  • 500
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"
}