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

# Delete campaign

> Delete a campaign and its associated call attempt records

Permanently deletes a campaign.

<Warning>
  You cannot delete a campaign that is currently `RUNNING`, `PAUSED`, or `SCHEDULED`. You must first call [`POST /campaigns/{id}/abort`](/docs/api-reference/campaigns/abort-campaign) before deleting.
</Warning>

### Path parameters

<ParamField path="id" type="string" required>
  The unique UUID of the campaign to delete.
</ParamField>

<CodeGroup>
  ```bash curl theme={null}
  curl -X DELETE https://api.agentic-os.com/api/v1/campaigns/770e8400-e29b-41d4-a716-446655440000 \
    -H "Authorization: Bearer $AGENTIC_OS_API_KEY"
  ```

  ```python Python theme={null}
  import requests

  response = requests.delete(
      "https://api.agentic-os.com/api/v1/campaigns/770e8400-e29b-41d4-a716-446655440000",
      headers={"Authorization": f"Bearer {API_KEY}"},
  )
  print(response.status_code)
  ```

  ```javascript Node theme={null}
  const response = await fetch(
    "https://api.agentic-os.com/api/v1/campaigns/770e8400-e29b-41d4-a716-446655440000",
    {
      method: "DELETE",
      headers: { Authorization: `Bearer ${API_KEY}` },
    },
  );
  console.log(response.status);
  ```
</CodeGroup>

### Response

`204 No Content` on successful deletion.
