Home » API Reference » Jobs » Cancel a Job

permalink Cancel a Job

API V1 Only: POST https://app.zencoder.com/api/jobs/v1/1234/cancel.json?api_key=asdf1234

PUT https://app.zencoder.com/api/v2/jobs/1234/cancel.json?api_key=asdf1234

Required

More Information

If you wish to cancel a job that has not yet finished processing you may send a request (using any HTTP method) to https://app.zencoder.com/api/v2/jobs/1234/cancel. If cancellation succeeds you will receive a 204 No Content response.

Only jobs that are in the “waiting” or “processing” state may be cancelled. If you attempt to cancel a job in any other state you will receive a 409 Conflict response.

API Key can be passed in the URL or in the request body.