---
title: "Delete a message"
url: https://docs.gleap.ai/en/reference/rest-api/delete-message
method: DELETE
path: "/messages/{messageId}"
api: "API Reference"
tag: "Messages"
operationId: "DeleteMessage"
updatedAt: "2026-11-01T18:40:15.677Z"
language: en
---

# Delete a message

`DELETE https://api.gleap.io/v3/messages/{messageId}`

Permanently deletes a message from a ticket, together with its thread replies; this cannot be undone. No webhook or event is sent, and the ticket's `updatedAt` does not change.

## Authorization

- `Authorization` (header, required): `Bearer <token>`

## Path parameters

- `messageId` (string, required)

## Headers

- `project` (string, required)

## Example request

```bash
curl --request DELETE \
  --url 'https://api.gleap.io/v3/messages/{messageId}' \
  --header 'Authorization: Bearer <token>' \
  --header 'project: <project>'
```

## Responses

### 204

No content
