Skip to main content

Approving or Rejecting a Request

This section describes the App Broker REST API endpoint for an approver to approve or reject a request. Optionally, the approver post additional information in the request body.

Endpoint Example

URI Example:

[POST] http://localhost/esd/api/requests/27/approve?dn=appportal&un=jsmith

[POST] http://localhost/esd/api/requests/27/reject?dn=appportal&un=jsmith

Request Body Examples:

Providing an explanation for the rejection:

{"reason":"my reason"}

Providing an explanation and recommending a rejection:

{"reason":"my reason","recommendReject:true}

Permitting approver to override approval:

{"overrideApprover":true}