---
title: "Delete contacts from a list (bulk)"
method: POST
path: "/api/v2/lists/{id}/contacts/delete"
tags: ["Lists"]
---

# Delete contacts from a list (bulk)

`POST /api/v2/lists/{id}/contacts/delete`

<a class="try-sandbox-link" href="https://sandbox.textmagic.com/#/Lists/deleteListContactsBulk" target="_blank">Try in sandbox</a><br>Delete contacts from a list (bulk)

## Path parameters

- `id` integer, required

## Request body

- object
  - `ids` string — Entity ID(s), separated by comma.
  - `all` 0 | 1 — Default is 0 (false). If set to 1, all 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)
