English
cURL
curl --request POST \ --url https://api.absentify.com/api/v1/requests/{id}/decline_representative \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <api-key>' \ --data ' { "reason": "<string>" } '
{ "success": true, "message": "<string>" }
Decline a request as a representative/substitute on behalf of the user who created the API token. The API automatically finds the pending representative approval.
1
Successful response
Was this page helpful?