---
title: "Cancel a Job"
method: PUT
path: "/jobs/{job_id}/cancel"
tags: ["Jobs"]
---

# Cancel a Job

`PUT /jobs/{job_id}/cancel`

'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.'

## Path parameters

- `job_id` string, required

## Headers

- `Content-Type` string, required
- `Zencoder-Api-Key` string, required

## Response `204`

No content.

## Other responses

- `409` — Conflict
- `500` — Server error

---

[API](https://skmtc.dev/brightcovelearning/apis/zencoder-api.md) · [All operations](https://skmtc.dev/brightcovelearning/apis/zencoder-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/brightcovelearning/zencoder-api/revisions/1c9ad03e166e/schema)
