---
title: "Delete contacts in bulk"
method: DELETE
path: "/v1/contacts"
tags: ["Contacts"]
---

# Delete contacts in bulk

`DELETE /v1/contacts`

## Request

- Base URL: `https://smtpfa.st/api`
- URL: `https://smtpfa.st/api/v1/contacts`
- Auth: HTTP bearer

Delete up to 500 contacts by id with {"ids": [...]}, or the whole audience with {"confirm": "all"} (optionally with status subscribed or unsubscribed). Not in Resend. Deleting the whole audience needs an owner or admin. Requires the contact:write scope.

## Request body

- object
  - `ids` string[]
  - `confirm` 'all'
  - `status` 'all' | 'subscribed' | 'unsubscribed'

## Response `200`

How many were deleted

- object

## Other responses

- `400`: Bad request - check your payload
- `401`: Invalid or missing API key
- `403`: Forbidden - domain not verified or insufficient permissions
- `429`: Rate limit exceeded - retry after the period indicated in the Retry-After header
- `500`: Internal server error

---

[API](https://skmtc.dev/smtpfa/apis/smtpfast-api.md) · [All operations](https://skmtc.dev/smtpfa/apis/smtpfast-api/llms.txt) · [OpenAPI document](https://skmtc.dev/smtpfa/apis/smtpfast-api/revisions/79dda742f53e?raw)
