---
title: "Cancel a job"
method: PUT
path: "/v1/jobs/{jobId}/cancel"
tags: ["Jobs"]
---

# Cancel a job

`PUT /v1/jobs/{jobId}/cancel`

## Request

- Base URL: `https://api.bigchange.com`
- URL: `https://api.bigchange.com/v1/jobs/{jobId}/cancel`
- Auth: HTTP bearer

Cancels a specific job. The job cannot be cancelled if it has already been started, suspended or completed (required scope jobs:write)

## Path parameters

- `jobId` integer, required

## Headers

- `Customer-Id` integer, required

## Request body

- CancelJobModel: Represents a model that holds information about cancelling a job
  - `reason` string, nullable: A textual reason as to why the job is cancelled

## Response `204`

No Content

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `422`: Unprocessable Content
- `500`: Internal Server Error

---

[API](https://skmtc.dev/bigchange/apis/bigchange-dx.md) - [All operations](https://skmtc.dev/bigchange/apis/bigchange-dx/llms.txt) - [OpenAPI document](https://skmtc.dev/bigchange/apis/bigchange-dx/revisions/b262bfdb1dd0?raw)
