---
title: "Cancel a job"
method: DELETE
path: "/jobs/{id}"
---

# Cancel a job

`DELETE /jobs/{id}`

## Request

- Base URL: `https://katto.tech/api/v1`
- URL: `https://katto.tech/api/v1/jobs/{id}`
- Auth: HTTP bearer

Cancel a still-running job (queued/processing) and refund the monthly video slot (up to the monthly refund cap). Returns 409 if the job already finished, failed, or was cancelled. Requires a key with write scope.

## Path parameters

- `id` string, uuid, required

## Response `200`

Cancelled and refunded

- object
  - `id` string, uuid
  - `status` string
  - `refunded` boolean

## Other responses

- `401`: Error
- `403`: Error
- `404`: Error
- `409`: Error
- `429`: Error

---

[API](https://skmtc.dev/katto/apis/katto-api.md) · [All operations](https://skmtc.dev/katto/apis/katto-api/llms.txt) · [OpenAPI document](https://skmtc.dev/katto/apis/katto-api/revisions/f2ae2d85e51d?raw)
