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

# Remove Lead from Campaign

> Removes a lead from a campaign.

# Remove a Lead from a Campaign

Removes a lead from a campaign. The lead record itself is not deleted from your workspace -- only the association with the campaign is removed.

## Request

`DELETE /v1/campaigns/:id/leads/:lead_id`

### Path Parameters

| Parameter | Type | Required | Description           |
| --------- | ---- | -------- | --------------------- |
| `id`      | uuid | Yes      | The campaign ID       |
| `lead_id` | uuid | Yes      | The lead ID to remove |

## Example

<CodeGroup>
  ```bash cURL theme={null}
  curl -X DELETE \
    "https://kdjmltmhxvvmiuehafgl.supabase.co/functions/v1/api-gateway/v1/campaigns/c1d2e3f4-.../leads/a1b2c3d4-..." \
    -H "Authorization: Bearer rchd_live_xxxxxxxxxxxx"
  ```

  ```javascript JavaScript theme={null}
  const campaignId = "c1d2e3f4-...";
  const leadId = "a1b2c3d4-...";
  const response = await fetch(
    `https://kdjmltmhxvvmiuehafgl.supabase.co/functions/v1/api-gateway/v1/campaigns/${campaignId}/leads/${leadId}`,
    {
      method: "DELETE",
      headers: {
        "Authorization": "Bearer rchd_live_xxxxxxxxxxxx"
      }
    }
  );
  const data = await response.json();
  ```

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

  campaign_id = "c1d2e3f4-..."
  lead_id = "a1b2c3d4-..."
  response = requests.delete(
      f"https://kdjmltmhxvvmiuehafgl.supabase.co/functions/v1/api-gateway/v1/campaigns/{campaign_id}/leads/{lead_id}",
      headers={"Authorization": "Bearer rchd_live_xxxxxxxxxxxx"}
  )
  data = response.json()
  ```
</CodeGroup>

## Response

```json theme={null}
{
  "data": {
    "success": true
  }
}
```

<Note>
  This operation only removes the lead from the campaign. The lead itself, along with all its data and call history, remains in your workspace.
</Note>
