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

# delete and delete_phone_number

> Withdrawing contacts from dialing by adapter contact ID or by phone number.

# delete and delete\_phone\_number

```json theme={null}
{"user":"…","pass":"…","type":"delete","data":[100000001, "100000002"]}
{"user":"…","pass":"…","type":"delete_phone_number","data":["5215512345678"]}
```

* **`delete`** withdraws contacts by adapter contact ID. Only IDs of your account count: unknown IDs and IDs of other accounts change nothing. Contacts of closed campaigns are skipped.
* **`delete_phone_number`** withdraws a number from all open campaigns of your account, including a campaign that another request is still creating at that moment. Numbers are compared by their **last ten digits**.
* A contact that is on a call at that moment finishes the call and gets no further attempts.
* Both operations respond with an echo of what you sent: `{"type":"deleted", "data": <your data as is>}` (one space after the colon — as in V2).

In the cabinet, a withdrawn contact gets the state **Suppressed** with the reason **Withdrawn at the client's request** — see [Contacts and withdrawals](https://docs.hubtalk.ai/v4/compat-adapter/monitoring-calls.md#contacts-and-withdrawals).

> [!TIP]
>
> The cheapest way to check sign-in after setting up an account is `{"user":"…","pass":"…","type":"delete","data":[1]}`. The adapter will respond with the echo `{"type":"deleted", "data": [1]}` and withdraw nothing.


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