Skip to main content
DELETE
Cancel Job

Overview

Cancel a job that is still waiting in the queue. Jobs that are already processing or completed cannot be cancelled.

Header Parameters

string
required
Your API key for authentication

Path Parameters

uuid
required
The job UUID to cancel

Response

string
Success message
string
The cancelled job ID

Examples

Success Response

Error Responses

Notes

  • Only jobs with status Pending (in queue) can be cancelled
  • Jobs that are already Processing, Completed, or Failed cannot be cancelled
  • Cancelled jobs are marked as Failed with the error message “Job cancelled by user”
  • Cancellation is atomic - if successful, the job is guaranteed to be removed from the queue