Bulk delete requests
DELETE
Delete multiple approval requests in batch
header
X-API-Key<token>API key authentication using X-API-Key header
Approval requests to delete
application/json- body
Approval requests to delete
requestIds*array<number>Items
1 <= itemsDefault Response
application/json- response
Result of a bulk approve, reject or delete
success*booleanmessage*stringresult*Per-request outcome counts of a bulk approval operation
curl -X DELETE 'http://localhost:3003/v1/approval/requests/bulk/delete' \ -H 'Content-Type: application/json' \ -d '{ "requestIds": [ 0 ]}'Example Response
{ "success": true, "message": "string", "result": { "successful": 0, "failed": [ 0 ], "errors": [ "string" ], "total": 0 }}