---
title: "Cancel batch"
method: PATCH
path: "/api/v1alpha/batches/{batch_id}/cancel"
tags: ["Batches API v1Alpha"]
---

# Cancel batch

`PATCH /api/v1alpha/batches/{batch_id}/cancel`

Cancel a batch.

## Path parameters

- `batch_id` number, required

## Response `200`

Successfully cancelled the batch.

- SuccessResponse
  - `success` boolean — Whether the operation was successful

---

[API](https://skmtc.net/hail-is/apis/hail-services.md) · [All operations](https://skmtc.net/hail-is/apis/hail-services/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hail-is/hail-services/versions/3bd6e13adfa6/schema)
