---
title: "Remove from blacklist"
method: DELETE
path: "/v1/blacklist/{id}/leads"
tags: ["blacklist"]
---

# Remove from blacklist

`DELETE /v1/blacklist/{id}/leads`

## Request

- Base URL: `https://api.botdog.co`
- URL: `https://api.botdog.co/v1/blacklist/{id}/leads`
- Auth: API key in header `x-api-key`

Remove profiles from a blacklist by lead ID and/or LinkedIn URL.

## Path parameters

- `id` string, required

## Request body

- RemoveLeadsFromListDto
  - `leadIds` string[]: Lead IDs to remove
  - `linkedinUrls` string[]: LinkedIn profile URLs to remove

## Response `200`

- RemoveLeadsResponseDto
  - `listId` string, required: The list the leads were removed from
  - `deletedCount` number, required: Number of leads removed

## Other responses

- `401`: Unauthorized. API key is missing or invalid.
- `403`: The key owner has no seat assigned (write endpoints only), the team is on Botdog Managed and so may only read (write endpoints only), or the subscription/plan does not permit this.
- `404`: Blacklist not found
- `429`: Rate limit exceeded. Retry after cooldown.

---

[API](https://skmtc.dev/botdog/apis/botdog-api.md) · [All operations](https://skmtc.dev/botdog/apis/botdog-api/llms.txt) · [OpenAPI document](https://skmtc.dev/botdog/apis/botdog-api/revisions/6c0213d8a608?raw)
