---
title: "Delete attachment"
method: DELETE
path: "/attachments/{attId}"
tags: ["Attachments"]
---

# Delete attachment

`DELETE /attachments/{attId}`

## Request

- Base URL: `https://api.caliuapp.com`
- URL: `https://api.caliuapp.com/attachments/{attId}`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `caliu_session`

Remove a user-owned file attachment from R2 storage and database.

## Path parameters

- `attId` string, required: Attachment ID

## Response `200`

Attachment deleted

- object
  - `ok` boolean, required

## Other responses

- `404`: Not found

---

[API](https://skmtc.dev/caliuapp/apis/caliu-api.md) · [All operations](https://skmtc.dev/caliuapp/apis/caliu-api/llms.txt) · [OpenAPI document](https://skmtc.dev/caliuapp/apis/caliu-api/revisions/1ba4d3f687fe?raw)
