---
title: "Release an unsent attachment."
method: DELETE
path: "/v1/outbox-attachments/{id}"
tags: ["Attachments"]
---

# Release an unsent attachment.

`DELETE /v1/outbox-attachments/{id}`

## Request

- Base URL: `https://api.inboxy.net`
- URL: `https://api.inboxy.net/v1/outbox-attachments/{id}`
- Auth: HTTP bearer

Deletes the R2 object and the D1 row. Refused once the sender has consumed the attachment in a sent reply.

## Path parameters

- `id` string, uuid, required

## Response `200`

Deleted.

## Other responses

- `404`: No matching resource owned by the caller.
- `409`: Attachment was already consumed in a sent reply.

---

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