---
title: "Delete message from user"
method: DELETE
path: "/users/{userIdentifier}/messages/{messageId}"
tags: ["users.message"]
---

# Delete message from user

`DELETE /users/{userIdentifier}/messages/{messageId}`

Delete a message in a specific user's mailbox.

## Headers

- `If-Match` string

## Response `204`

If successful, the message is deleted from the specified user's mailbox and no content is returned. Unless, the message may not exist or access may be denied.

## Other responses

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

## Changes

> 10 revisions in range; 7 could not be searched.

- **2026-05-26** `c6fc1d98f528` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/ballerina-platform/apis/microsoft-graph-mail-api/changes/users/:userIdentifier/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)
