cURL
curl --request POST \ --url https://api.eden.art/v2/tasks/cancel \ --header 'Content-Type: application/json' \ --header 'X-Api-Key: <api-key>' \ --data '{ "taskId": "<string>" }'
{ "taskStatus": "<string>" }
Cancel a task that is currently in progress or queued for execution.
Task ID to cancel
Default Response
Updated task status