---
title: "Cancel a batch job"
method: POST
path: "/v6/batches/{batchId}/cancel"
tags: ["Batch Jobs"]
---

# Cancel a batch job

`POST /v6/batches/{batchId}/cancel`

Requests cancellation of a batch job. The job transitions to `CANCELED` status. Only jobs in a non-terminal state (`PENDING`, `QUEUED`, `IN_PROGRESS`, or `DISPATCHING`) can be canceled.

## Path parameters

- `batchId` string, required

## Response `200`

Cancellation accepted. Returns the updated job record with `status: CANCELED`.

## Other responses

- `400` — Bad Request
- `401` — Missing or invalid access token.
- `402` — Payment Required
- `403` — Forbidden
- `404` — Batch job not found or does not belong to this client.
- `415` — Unsupported Media Type
- `423` — Error
- `429` — Too Many Requests

---

[API](https://skmtc.net/extole/apis/integration-api-server-to-extole.md) · [All operations](https://skmtc.net/extole/apis/integration-api-server-to-extole/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/extole/integration-api-server-to-extole/revisions/c16e62e66755/schema)
