---
title: "Remove a supporting document"
method: DELETE
path: "/v1/agents/{id}/attachments/{attachmentId}"
tags: ["Agents"]
---

# Remove a supporting document

`DELETE /v1/agents/{id}/attachments/{attachmentId}`

## Request

- Base URL: `https://api.cadencercs.com`
- URL: `https://api.cadencercs.com/v1/agents/{id}/attachments/{attachmentId}`
- Auth: HTTP bearer

Refused once a launch request exists.

## Path parameters

- `id` string, required
- `attachmentId` string, required

## Response `200`

Removed.

- object
  - `ok` boolean, required

## Other responses

- `401`: Not signed in, and no account-linked API key was sent.
- `404`: No such agent or document.
- `409`: A launch request already exists.
- `500`: Unexpected server error. The body is always JSON.
- `502`: Google rejected the request.
- `503`: RBM not configured.

---

[API](https://skmtc.dev/cadencercs/apis/cadence-api.md) · [All operations](https://skmtc.dev/cadencercs/apis/cadence-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cadencercs/apis/cadence-api/revisions/9438443c2081?raw)
