deleteApproval
deleteApproval
Overview
Delete an approval.
An fm_approvals table lock is obtained during the execution of this API.
This method requires the Approvals:Delete permission to be associated with your role.
It performs the same function as the corresponding action in the Approvals screen.
Permissions
The permission for this api is stored in [gb_api_permissions]permission as 'Approvals:Delete'.
Only roles with a stored link to this permission in [gb_role_api_permissions] can run this api.
HTTP Method
Use the HTTP Method 'DELETE' for consuming this web service.
URL Examples
https://api.demo.catch-e.com/fm/approvals/{approval_id}
https://api.{{environment}}.catch-e.com/fm/approvals/{approval_id}
https://api.test.catch-e.com/fm/approvals/{approval_id}
Input Fields (Path)
Input Fields (Header)
Response Details
Success
204 - Success
Error Response Details
{ "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "title": "Unauthorized", "status": 401, "detail": "Unauthorized" }{ "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "title": "Forbidden", "status": 403, "detail": "Forbidden" }{ "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "title": "Not Found", "status": 404, "detail": "Not Found" }{ "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "title": "Not Acceptable", "status": 406, "detail": "Not Acceptable" }{ "warning_messages": { "fieldName": { "warningExceptionCode": "A textual description of the warning exception" } }, "validation_messages": { "fieldName": { "validationExceptionCode": "A textual description of the validation exception" } }, "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "title": "Unprocessable Entity", "status": 422, "detail": "Failed Validation" }{ "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "title": "string", "status": 599, "detail": "string" }{ "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "title": "string", "status": 599, "detail": "string" }