cURL
curl --request DELETE \ --url https://api.example.com/jobs/{id} \ --header 'x-api-key: <x-api-key>'
{ "message": "Job cancelled successfully", "job_id": "550e8400-e29b-41d4-a716-446655440000" }
Cancel a pending job in the queue
curl -X DELETE "https://tornado.velys.software/jobs/550e8400-e29b-41d4-a716-446655440000" \ -H "x-api-key: sk_your_api_key"
{ "error": "Job cannot be cancelled (not in queue or already processing)" }
Pending
Processing
Completed
Failed