cURL
curl --request DELETE \ --url https://app.tryordinal.com/api/v1/approvals/{id} \ --header 'Authorization: Bearer <token>'
{ "deletedApproval": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "status": "Requested", "isBlocking": true, "message": "<string>", "dueDate": "2023-11-07T05:31:56Z", "approvedAt": "2023-11-07T05:31:56Z", "createdAt": "2023-11-07T05:31:56Z", "user": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "firstName": "<string>", "lastName": "<string>", "createdAt": "2023-11-07T05:31:56Z" }, "requestedBy": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "firstName": "<string>", "lastName": "<string>", "createdAt": "2023-11-07T05:31:56Z" } } }
Delete an approval request
API key authentication. Generate an API key from your workspace settings.
Approval ID (UUID)
Approval deleted
Show child attributes
Was this page helpful?