---
title: "Delete Leads"
method: DELETE
path: "/api/v1/campaigns/{campaign_id}/leads"
tags: ["Campaigns"]
---

# Delete Leads

`DELETE /api/v1/campaigns/{campaign_id}/leads`

## Request

- Base URL: `http://localhost:3009`
- URL: `http://localhost:3009/api/v1/campaigns/{campaign_id}/leads`
- Auth: HTTP bearer

Permanently deletes leads and their step and reply history. **This cannot be undone.**

Deletion leaves no memory behind: re-adding the same address later enters the campaign fresh. To block an address for good, add it to the suppression list instead.

Up to 500 leads per call. `missing` counts ids that were already gone — a foreign id, or an earlier partial run — so a healing retry that deletes nothing new doesn't read as a failure. If some deletes fail the response is a 500 carrying the counts; retry the same ids to finish the job.

## Path parameters

- `campaign_id` string, required

## Request body

- object
  - `lead_ids` string[], required: Lead ids to delete permanently — from List Leads.

## Response `200`

Default Response

- object
  - `status` integer
  - `message` string
  - `data` object
    - `deleted` integer: Leads deleted by this request
    - `missing` integer: Ids that were already gone — unknown to this campaign, or deleted by an earlier run

## Other responses

- `400`: No lead ids given, or more than 500
- `401`: Unauthorized — missing or invalid API key
- `403`: Forbidden. `code` says which permission refused: ROLE_FORBIDDEN (your role), INSUFFICIENT_SCOPE (the API key's scopes), WORKFLOW_FORBIDDEN (no access to the workflow), KEY_WORKFLOW_FORBIDDEN (the API key's workflow restriction).
- `404`: Campaign not found
- `429`: Too Many Requests — rate limit exceeded. Check `Retry-After` header for seconds until the limit resets.
- `500`: Some deletes failed — the rest are committed; retry the same ids to finish

---

[API](https://skmtc.dev/floqer/apis/floqer-public-api.md) - [All operations](https://skmtc.dev/floqer/apis/floqer-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/floqer/apis/floqer-public-api/revisions/fce50dc07b20?raw)
