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

# Delete campaign

> Delete a campaign that never started, with its contacts and its contacts file. A campaign that has started keeps its history: cancel it instead.

Deletes a campaign that never started, with its contacts, its import and its contacts file. This cannot be undone.

Only a campaign that never started can go: a `draft` (importing or not), a `scheduled` campaign, or one cancelled before it started. A campaign that has started keeps its calls' history, so deleting it is refused: [cancel](https://docs.verbeo.ai/api-reference/campaign/cancel.md) it instead. Deleting a campaign while its contacts import stops the import.

**Who may call it:** any API key of the workspace; in the dashboard, an owner or admin.

## Path

**id** `string` *required*

UUID of the campaign.

## Request

```bash theme={null}
curl -X DELETE "https://api.verbeo.ai/v2/campaign/0175091d-2c3b-4aef-8c45-dbbe24f7b3ff" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## Response

`204 No Content`, with no body.

## Errors

| Code | Status | When |
| - | - | - |
| `CONFLICT` | 409 | The campaign has started: `This campaign has placed calls, so it cannot be deleted. Cancel it instead.` |
| `NOT_FOUND` | 404 | `Campaign not found`. |
| `FORBIDDEN` | 403 | A dashboard member below admin: `Deleting a campaign requires the admin or owner role`. An API key acts as the owner and never gets it. |
| `VALIDATION_FAILED` | 422 | `id` is not a UUID: `must be a valid uuid`. |

And the [errors every route can give](https://docs.verbeo.ai/api-reference/campaign/overview.md#errors-every-route-can-give).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.