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

# Remove Do-Not-Call Number

> Remove a number from the do-not-call list, by entry id or by phone number

Remove a number from the do-not-call list. Use the entry `id` in the path, or the phone number in the `phone` query parameter. The number can be called again after it is removed.

Removing a number does not change recipients that were already skipped. Create a new campaign to call them.

## Request

### Headers

**Authorization** `string` *required*

Bearer token with your API key (scope `agents`)

### Path

**entryId** `string`

The entry `id` (UUID). Leave out when you send `phone`. Use `DELETE /agents/do-not-call?phone=...` instead

### Query

**phone** `string`

An international number, URL-encoded, for example `%2B919876543210`. Used when there is no `entryId`

## Response

**200 OK**

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

## Errors

| Status | Code | Meaning |
| - | - | - |
| 400 | `VALIDATION_ERROR` | Neither `entryId` nor `phone` was sent, or `phone` is not an international number. `field` is `phone` |
| 403 | `POLICY_DENY` | Your role cannot control campaigns, or the API key lacks the `agents` scope |
| 404 | `ENTRY_NOT_FOUND` | `entryId` is not a valid id |
| 404 | `DNC_NOT_FOUND` | The entry or number is not on your do-not-call list |

## Example

```bash cURL theme={null}
curl -X DELETE "https://api.60db.ai/agents/do-not-call?phone=%2B919876543210" \
  -H "Authorization: Bearer your-api-key"
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.