---
title: "Cancel a job"
method: POST
path: "/jobs/{id}/cancel"
tags: ["Jobs"]
---

# Cancel a job

`POST /jobs/{id}/cancel`

Cancel a waiting or dispatched job. Running, completed, or already cancelled jobs cannot be cancelled.

## Path parameters

- `id` string, required — Job ID to cancel

## Response `200`

Job cancelled

- object
  - `data` object, required
    - `id` string, required
    - `status` 'cancelled', required

## Other responses

- `401` — Unauthorized
- `404` — Job not found
- `409` — Job cannot be cancelled in current status

## Changes

- **2026-08-31** `fafe355d0698` — 1 info
  - the security scope `jobs:write` was added to the endpoint's security scheme `bearerAuth`
- **2026-08-29** `4d10ec4266ee` — 1 info
  - api operation id `cancelJob` was added

[Change history](https://skmtc.dev/rendobar/apis/rendobar-api/changes/jobs/:id/cancel/post.md)

---

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