---
title: "Delete Message"
method: DELETE
path: "/restapi/v1.0/account/{accountId}/extension/{extensionId}/message-store/{messageId}"
tags: ["Message Store"]
---

# Delete Message

`DELETE /restapi/v1.0/account/{accountId}/extension/{extensionId}/message-store/{messageId}`

Deletes message(s) by the given message ID(s). The first call of
this method transfers the message to the 'Delete' status. The second call
transfers the deleted message to the 'Purged' status. If it is required to
make the message 'Purged' immediately (from the first call), then set the
query parameter purge to `true`.

## Query parameters

- `purge` boolean

## Request body

- string[]

## Response `204`

No content

---

[API](https://skmtc.dev/ringcentral/apis/ringcentral-api.md) · [All operations](https://skmtc.dev/ringcentral/apis/ringcentral-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ringcentral/apis/ringcentral-api/revisions/8d602198ec97?raw)
