---
search:
  tags:
    - Contacts
    - POST
seo:
  description: >-
    Deletes up to 1000 contacts by id or by email address in one request and
    lists… Reference for the POST /contacts/batch/remove endpoint in the
    BillionSend API.
sidebar:
  label: Delete contacts in bulk
  badge: POST
title: Delete contacts in bulk
type: openapi-operation
---
Deletes up to 1000 contacts by id or by email address in one request and lists the rows actually deleted; unknown ids or addresses are skipped. Emails stay in the log; `erase: true` also scrubs each address from email history, event payloads and API logs, like DELETE /contacts/&#123;id&#125;?erase=true.

`POST /contacts/batch/remove`

**Request body** (`application/json`, required)

- `ids` (string<uuid>[]) — Contact ids to delete, up to 1000
- `emails` (string<email>[]) — Contact email addresses to delete, up to 1000; matched case-insensitively
- `erase` (boolean) — Also erase each address from email history, event payloads and API logs (GDPR/LGPD); by default the send log is kept

Request body example:

```json
{
  "ids": [
    "497f6eca-6276-4993-bfeb-53cbbbba6f08"
  ],
  "emails": [
    "user@example.com"
  ],
  "erase": true
}
```

**Responses**

- `200` — The contacts that were deleted
- `401` — Missing, malformed, unknown or revoked API key
- `422` — Validation error
- `429` — Over the rate limit (rate\_limit\_exceeded, with Retry-After)

Response example, 200:

```json
{
  "data": [
    {
      "object": "contact",
      "contact": "ad596931-5d7c-4d2b-907e-5b64c9432eb4",
      "deleted": true
    }
  ]
}
```
