---
title: "Delete an attachment"
method: DELETE
path: "/api/attachments/*path"
tags: ["Attachments"]
---

# Delete an attachment

`DELETE /api/attachments/*path`

## Request

- Base URL: `https://api.engram.page`
- URL: `https://api.engram.page/api/attachments/*path`
- Auth: HTTP bearer

Deletes the attachment at the given path. Idempotent — always returns `deleted: true` with the path, and is not billing-gated so downgraded users can still remove files.

## Path parameters

- `path` string, required

## Response `200`

Deleted

- AttachmentDeleted
  - `deleted` boolean, required
  - `path` string, required

## Other responses

- `500`: Delete failed

---

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