---
title: "Delete message"
method: DELETE
path: "/me/messages/{messageId}"
tags: ["me.message"]
---

# Delete message

`DELETE /me/messages/{messageId}`

Delete a message in the specified user's mailbox, or delete a relationship of the message.

## Headers

- `If-Match` string

## Response `204`

If successful, the message is deleted and no content is returned. Unless, the message may not exist or the caller may lack the required permission.

## Other responses

- `4XX` — error
- `5XX` — error

## Changes

- **2026-05-27** `354d90657cdd` — 1 info
  - api operation id `me.DeleteMessages` removed and replaced with `deleteMessage`
- **2026-05-26** `c6fc1d98f528` — 1 info
  - api operation id `deleteMessage` removed and replaced with `me.DeleteMessages`

[Change history](https://skmtc.dev/ballerina-platform/apis/microsoft-graph-mail-api/changes/me/messages/:messageId/delete.md)

---

[API](https://skmtc.dev/ballerina-platform/apis/microsoft-graph-mail-api.md) · [All operations](https://skmtc.dev/ballerina-platform/apis/microsoft-graph-mail-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ballerina-platform/microsoft-graph-mail-api/revisions/af62694b9f2d/schema)
