---
title: "Delete specific campaign"
method: DELETE
path: "/{sub_domain}/api/campaigns/{id}"
tags: ["Campaigns"]
---

# Delete specific campaign

`DELETE /{sub_domain}/api/campaigns/{id}`

## Request

- Base URL: `https://api.commpeak.com/dialer`
- URL: `https://api.commpeak.com/dialer/{sub_domain}/api/campaigns/{id}`
- Auth: API key in header `Authorization`

Delete the campaign identified by `id`, along with its child campaigns.

**When to use.** Permanently remove a campaign you no longer need. Any child campaigns are removed together with it.

**Returns.** `204 No Content` on success. Returns `404` if no campaign matches the id, and `422` if a child campaign is still in use and cannot be removed.

## Path parameters

- `id` integer, required: Campaign ID.
- `sub_domain` string, required: Dialer Name (subdomain)

## Response `204`

Successful Response

## Other responses

- `404`: Not Found
- `422`: Validation Error
- `500`: Internal Server Error

---

[API](https://skmtc.dev/commpeak/apis/commpeak-dialer-api.md) - [All operations](https://skmtc.dev/commpeak/apis/commpeak-dialer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/commpeak/apis/commpeak-dialer-api/revisions/18c5edc07544?raw)
