---
title: "Delete Message"
method: DELETE
path: "/v0/inboxes/{inbox_id}/messages/{message_id}"
tags: ["InboxesMessages"]
---

# Delete Message

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

Permanently deletes a message.

**CLI:**
```bash
agentmail inboxes:messages delete --inbox-id <inbox_id> --message-id <message_id>
```

## Path parameters

- `inbox_id` string, required — The ID of the inbox.
- `message_id` string, required — ID of message.

## Response `204`

## Other responses

- `404`

## Changes

- **2026-07-15** `394ddcdd9c29` — 3 info
  - added the optional property `code` to the response with the `404` status
  - added the optional property `docs` to the response with the `404` status
  - added the optional property `fix` to the response with the `404` status
- **2026-04-08** `69e3767c5ada` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/agentmail-to/apis/api/changes/v0/inboxes/:inbox_id/messages/:message_id/delete.md)

---

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