---
title: "Delete a message"
method: DELETE
path: "/v3/grants/{grant_id}/messages/{message_id}"
tags: ["Messages"]
---

# Delete a message

`DELETE /v3/grants/{grant_id}/messages/{message_id}`

Deletes the specified message. If `hard_delete` is not defined or is `false`, Nylas moves the
message to the user's Trash folder.

## Query parameters

- `hard_delete` boolean
- `shared_from` string

## Response `200`

Delete Succeeded

- object
  - `request_id` string, required — ID of the request.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `429` — Rate Limit
- `504` — Provider Failure

---

[API](https://skmtc.dev/nylas/apis/nylas-api.md) · [All operations](https://skmtc.dev/nylas/apis/nylas-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nylas/nylas-api/revisions/51c2c1b4ecff/schema)
