---
title: "Delete an inbox reply draft"
method: DELETE
path: "/mailboxes/{id}/inbox/threads/{thread_id}/drafts/{draft_id}"
tags: ["Mailboxes", "Messages"]
---

# Delete an inbox reply draft

`DELETE /mailboxes/{id}/inbox/threads/{thread_id}/drafts/{draft_id}`

## Request

- Base URL: `https://shipmail.to/api/v1`
- URL: `https://shipmail.to/api/v1/mailboxes/{id}/inbox/threads/{thread_id}/drafts/{draft_id}`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://shipmail.to/api/auth/oauth2/authorize`, token URL `https://shipmail.to/api/auth/oauth2/token`)

Delete a reply draft in status draft, invalidated or failed. Returns 409 for a draft that is sending or sent, or that belongs to the Shipmail Assistant. The stored draft is removed from the Drafts folder first; if that fails the request fails with 500 and can be retried.

## Headers

- `X-Shipmail-Organization` string

## Response `204`

Reply draft deleted.

## Other responses

- `401`: Authentication failed.
- `403`: Insufficient permissions.
- `404`: Resource not found.
- `409`: Resource conflict.
- `422`: Validation failed.
- `429`: Rate limit exceeded.

---

[API](https://skmtc.dev/shipmail/apis/shipmail-api.md) · [All operations](https://skmtc.dev/shipmail/apis/shipmail-api/llms.txt) · [OpenAPI document](https://skmtc.dev/shipmail/apis/shipmail-api/revisions/2c23e59d7e30?raw)
