cURL
curl --request DELETE \ --url https://recoup-api.vercel.app/api/tasks \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "id": "aade2bce-55c7-468e-a606-c4e76fb2ea2a" } '
{ "status": "success", "error": "<string>" }
Delete an existing scheduled task by its ID. Returns the status of the delete operation.
Your Recoup API key. Learn more.
Task to delete
UUID of the task to delete
"aade2bce-55c7-468e-a606-c4e76fb2ea2a"
Task deleted successfully
Status of the delete operation
success
error
Error message (only present if status is error)
Was this page helpful?