Approve an approval request

POST
/approval_requests/:approval_request_id/approve

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

Successful Response

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>=1
role_idslist of strings
statusenum
Allowed values: waitingapprovedrejectedcanceled
user_idslist of strings
rejected_bystringOptional

Errors