---
title: "Delete Leads"
method: GET
path: "/{sub_domain}/api/campaigns/{id}/delete-leads"
tags: ["Campaigns"]
---

# Delete Leads

`GET /{sub_domain}/api/campaigns/{id}/delete-leads`

## Request

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

Delete all leads from the campaign identified by `id`.

**When to use.** Clear a campaign's lead list, for example before importing a fresh set. This removes every lead in the campaign and cannot be undone.

**Returns.** `204 No Content` on success. Returns `404` if no campaign matches the id.

## 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)
