# Cancel a campaign

`POST https://www.getrevox.com/api/campaigns/{id}/cancel`

Cancel a running or scheduled campaign. Pending and queued calls will be aborted, while in-progress calls will be allowed to finish. Unlike deletion, the campaign and its rows are preserved for historical reference.

## Path parameters

- `id` (string, required)

## Example request

```bash
curl -X POST https://www.getrevox.com/api/campaigns/3c90c3cc-0d44-4b50-8888-8dd25736052a/cancel \
  -H "Authorization: Bearer $REVOX_API_KEY"
```

## Responses

### 200: Success

- `success` (boolean, required)

### 404: Not found in your organization

- `error` (string, required)