Reject an approval request

POST
/approval_requests/:approval_request_id/reject

Path parameters

approval_request_idstringRequired

Headers

Auth
AuthorizationstringRequired
Bearer authentication of the form Bearer <token>, where token is your auth token.
x-monite-versionstringRequired
x-monite-entity-idstringRequired
The ID of the entity that owns the requested resource.

Response

This endpoint returns an object.
idstring
created_atdatetime
updated_atdatetime
approved_bylist of strings
created_bystring
ID of the user who created the approval request
object_idstring
object_typeenum
required_approval_countinteger
role_idslist of strings
statusenum
Allowed values: waitingapprovedrejectedcanceled
user_idslist of strings
rejected_bystringOptional

Errors