> ## Documentation Index
> Fetch the complete documentation index at: https://docs.allium.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Cancel backfill

> Cancels a running backfill job.

```
POST /api/v1/beam/backfills/{job_id}/cancel
```

Sends a cancellation signal to a running backfill job. The job will stop at the next phase boundary and transition to `cancelled`. Resources (topics, worker pods) are torn down automatically.

**Path parameters:**

| Parameter | Description                                                                                      |
| :-------- | :----------------------------------------------------------------------------------------------- |
| `job_id`  | The backfill job ID returned by [Create backfill](/beam/api-reference/backfills/create-backfill) |

```bash theme={null}
curl -X POST https://api.allium.so/api/v1/beam/backfills/${JOB_ID}/cancel \
  -H "X-API-Key: ${ALLIUM_API_KEY}"
```
