---
title: "Delete a message"
method: DELETE
path: "/v1/inboxes/{inbox_id}/messages/{message_id}"
tags: ["Messages"]
---

# Delete a message

`DELETE /v1/inboxes/{inbox_id}/messages/{message_id}`

## Request

- Base URL: `https://api.deadsimple.email`
- URL: `https://api.deadsimple.email/v1/inboxes/{inbox_id}/messages/{message_id}`
- Auth: HTTP bearer

Removes the message from every read at once: lists, search, threads, attachments, the SSE stream, and the IMAP mailbox copy. The message is purged for good 30 days later and cannot be restored. Sent mail keeps counting toward the monthly quota and the per-inbox daily cap, since those count what was sent. Needs `messages.delete`.

## Path parameters

- `inbox_id` string, required
- `message_id` string, required

## Headers

- `X-Workspace-Id` string, uuid

## Response `200`

Deleted

## Other responses

- `404`: No such message in this inbox, or already deleted

---

[API](https://skmtc.dev/deadsimple/apis/dead-simple-email-api.md) · [All operations](https://skmtc.dev/deadsimple/apis/dead-simple-email-api/llms.txt) · [OpenAPI document](https://skmtc.dev/deadsimple/apis/dead-simple-email-api/revisions/c697881be131?raw)
