# Stop a campaign for good

> POST /campaigns/{id}/cancel. HeyRik API parameters and documented request and response examples.

Source: https://www.heyrik.com/docs/api-reference/campaigns/post-campaigns-id-cancel-stop-a-campaign-for-good

POST https://server.heyrik.com/api/v1/campaigns/{id}/cancel

## Path parameters

- id (required): Replace {id} in the request URL with the value for this resource.

## Headers

Authorization: Bearer $HEYRIK_API_KEY (required). Keep your key on your server.

## Notes

Unlike pause, cancel is terminal — the remaining leads are never dialled. Already-placed calls and their results are kept.

## Request example

```sh
curl -X POST https://server.heyrik.com/api/v1/campaigns/cmp_4a19/cancel \
  -H "Authorization: Bearer $HEYRIK_API_KEY"
```
