Skip to main content
GET
Cancel a job
Configure your deployment URL and API key before using the examples below.
string
required
The job to cancel.

Headers

string
required
Deployment API key in the form Key YOUR_SUTRO_API_KEY.
Cancellation is asynchronous. A successful request moves the job to CANCELLING; monitor job status until it reaches CANCELLED or another terminal state. A job that can no longer be cancelled, because it already finished or is already being cancelled, returns 409 with a detail such as Job JOB_ID is SUCCEEDED and cannot be cancelled. A missing job returns 404 with a detail message.