---
title: "Delete contacts by IDs (bulk)"
method: POST
path: "/api/v2/contacts/delete"
tags: ["Contacts"]
---

# Delete contacts by IDs (bulk)

`POST /api/v2/contacts/delete`

<a class="try-sandbox-link" href="https://sandbox.textmagic.com/#/Contacts/deleteContactsByIds" target="_blank">Try in sandbox</a><br>

## Request body

- object
  - `ids` string — Entity ID(s), separated by comma.
  - `all` 0 | 1 — Optional. Default is 0 (false). If set to 1 all the entities will be removed.

## Response `204`

Request executed with success.

## Other responses

- `400` — Bad request.
- `401` — Unauthorized request.
- `404` — Request data not found.

---

[API](https://skmtc.net/textmagic/apis/textmagic-api.md) · [All operations](https://skmtc.net/textmagic/apis/textmagic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/textmagic/textmagic-api/revisions/3e4029d19684/schema)
