---
title: "Delete list of messages by ID"
method: DELETE
path: "/v3/messages/by-id"
tags: ["MessageControllerV3", "Messages"]
---

# Delete list of messages by ID

`DELETE /v3/messages/by-id`

## Request

- Base URL: `https://api.carbonvoice.app`
- URL: `https://api.carbonvoice.app/v3/messages/by-id`
- Auth: one of:
  - API key in header `pxtoken`
  - OAuth 2 (implicit, authorization URL `https://api.carbonvoice.app/oauth/authorize`)

## Request body

- DeleteMessagesByIdPayload
  - `message_ids` string[], required

## Response `200`

- DeleteMessagesByIdResponse
  - `success` string[]
  - `failed` Failed[]
    - `message_id` string, required
    - `reason` string, required

---

[API](https://skmtc.dev/carbonvoice/apis/carbon-voice-api.md) · [All operations](https://skmtc.dev/carbonvoice/apis/carbon-voice-api/llms.txt) · [OpenAPI document](https://skmtc.dev/carbonvoice/apis/carbon-voice-api/revisions/b91c5c845122?raw)
