---
title: "Cancel job by job ID"
method: POST
path: "/jobs/{job-id}/cancel"
tags: ["Job"]
---

# Cancel job by job ID

`POST /jobs/{job-id}/cancel`

Cancel job with a given job ID.

## Path parameters

- `job-id` string, uuid, required

## Response `200`

Job cancelled successfully.

- object — message response
  - `message` string, required — A human-readable message

## Other responses

- `400` — Bad request error.
- `401` — Unauthorized error.
- `403` — Forbidden error.
- `404` — Job not found error.
- `default` — Error response.

---

[API](https://skmtc.net/circleci/apis/api-v2.md) · [All operations](https://skmtc.net/circleci/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/circleci/api-v2/revisions/b9c0e0c24058/schema)
