---
title: "Delete many contacts"
method: DELETE
path: "/contacts"
tags: ["Contacts"]
---

# Delete many contacts

`DELETE /contacts`

## Request

- Base URL: `https://api.commonroom.io/api/v2`
- URL: `https://api.commonroom.io/api/v2/contacts`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/commonroom/apis/common-room-api-v2/docs/contacts/delete.ts> (a function with typed inputs; its response is checked against the schema)

Delete up to 100 contacts in one request, the same way deleting contacts in the Common Room app does. The `ids` parameter is required; this endpoint never deletes all contacts. Every ID is validated before anything is deleted, and an error names every offending ID. A merged contact ID deletes the contact it was merged into. Contacts that are already deleted are skipped, so a request can be retried as a whole. Contacts who can log in to the workspace cannot be deleted. This is not a privacy erasure; for right-to-be-forgotten requests use `POST /right-to-be-forgotten-requests`. Requires the `contacts:write` scope and a role that can delete contacts.

## Query parameters

- `ids` string, required

## Response `200`

The contacts were deleted

- DeleteContactsResponse
  - `success` true, required
  - `data` object, required
    - `results` object[], required: One entry per requested ID, in request order, with duplicates removed.
      - `id` string, required: The requested contact ID (format `c_<number>`).
      - `deletedId` string, required: The contact that was deleted (format `c_<number>`). It differs from `id` when the requested contact had been merged into another contact.

## Other responses

- `400`: Missing `ids`, more than 100 IDs, or an invalid ID (for example `c_1.5` or `c_abc`)
- `403`: Forbidden, or the role cannot delete contacts
- `404`: A contact was not found
- `409`: A contact can log in to the workspace
- `429`: Rate Limited

---

[API](https://skmtc.dev/commonroom/apis/common-room-api-v2.md) - [All operations](https://skmtc.dev/commonroom/apis/common-room-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/commonroom/apis/common-room-api-v2/revisions/865d4d43dadf?raw)
