Cancel an approval process

POST
/approval_policies/:approval_policy_id/processes/:process_id/cancel

Cancel an ongoing approval process for a specific approval policy.

Path parameters

approval_policy_idstringRequired
process_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

idstringformat: "uuid"
statusenum

Tthe current status of the approval policy process.

inputmap from strings to any

The input for the script.

metadatamap from strings to any

The metadata for the process.

created_atdatetime
errormap from strings to anyOptional

The error for the process.

script_snapshotboolean or double or string or list of any or map from strings to anyOptional

The script snapshot taken when script started.

updated_atdatetimeOptional
created_bystringOptionalformat: "uuid"
updated_bystringOptionalformat: "uuid"

Errors