---
title: "Delete an evidence attachment no intent has used"
method: DELETE
path: "/evidence-attachments/{attachmentId}"
tags: ["evidence"]
---

# Delete an evidence attachment no intent has used

`DELETE /evidence-attachments/{attachmentId}`

## Request

- Base URL: `https://api.catena.com/v1/agent-api`
- URL: `https://api.catena.com/v1/agent-api/evidence-attachments/{attachmentId}`
- Auth: HTTP bearer

## Path parameters

- `attachmentId` string, required

## Response `200`

The attachment and its file are removed, and its upload key can start a new upload. One that counted against the staging limit keeps counting until its upload form's window closes

- object
  - `success` unknown, required

## Other responses

- `404`: Attachment missing, expired or not the authenticated agent's (`evidence_attachment_not_found`)
- `409`: An intent uses the attachment as evidence, so it stays with that intent (`evidence_attachment_bound`)

---

[API](https://skmtc.dev/catena/apis/catena-agent-api.md) - [All operations](https://skmtc.dev/catena/apis/catena-agent-api/llms.txt) - [OpenAPI document](https://skmtc.dev/catena/apis/catena-agent-api/revisions/9b72e32d21f1?raw)
