English
cURL
curl --request POST \ --url https://api.absentify.com/api/v1/requests/{id}/cancel \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <api-key>' \ --data '{ "cancel_reason": "<string>" }'
{ "success": true, "message": "<string>" }
Cancel a request on behalf of the user who created the API token. The user must be the requester, an admin, or a department manager with appropriate permissions.
1
Successful response
Was this page helpful?