cURL
curl --request DELETE \ --url https://api.xpander.ai/v1/tasks/{task_id} \ --header 'x-api-key: <api-key>'
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Delete a task by ID
204 No Content
202 Accepted
curl -X DELETE -H "x-api-key: YOUR_API_KEY" \ https://api.xpander.ai/v1/tasks/60ce6693-9c4d-45a0-a675-76cd8cbefbac
{ "message": "Task deleted successfully" }
API Key for authentication
Successful Response
Was this page helpful?