---
title: "Cancel a queued or running job"
method: POST
path: "/api/job/cancel"
tags: ["jobs"]
---

# Cancel a queued or running job

`POST /api/job/cancel`

## Request body

- CancelJobRequest
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `job_id` integer, required

## Response `200`

OK

- CancelJobOutputBody
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `success` boolean, required

## Other responses

- `default` — Error

---

[API](https://skmtc.dev/kenn-io/apis/roborev.md) · [All operations](https://skmtc.dev/kenn-io/apis/roborev/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kenn-io/roborev/revisions/0dfdca81e88d/schema)
