Skip to content

Delete an attachment

DELETE
/attachments/*path
curl --request DELETE \
--url 'https://api.engram.page/attachments/*path' \
--header 'Authorization: Bearer <token>'

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
required
string

Attachment path

Deleted

Media typeapplication/json
AttachmentDeleted
object
deleted
required
boolean
path
required
string
Example
{
"deleted": true
}