> For an agent: the map of this documentation is at https://escouade.io/en/mail/docs/llms.txt; every page exists in Markdown, at the same address with `.md` appended.

# `remove_attachment`

Remove an attachment.

Removes an attachment from a draft (att_…, see list_drafts). The draft changes version: an approval given for the old one no longer counts.

## Access

- **Key**: an Escouade Mail key with `send` or `approve`.
- **Space**: a verified space.
- **Changes nothing**: no, it acts.
- **Safe to replay**: use an `idempotency_key` where the tool offers one.

## Parameters

| Parameter | Type | Required | Description |
|---|---|---|---|
| `attachment_id` | string | yes | The attachment (att_…). |

## Call it

```sh
curl -s https://api.subagent.fr/v1/remove_attachment \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer sak_…' \
  -d '{"attachment_id": "…"}'
```

The full page in French, with the response fields and every refusal the tool can return: [/mail/docs/reference/remove_attachment](https://escouade.io/mail/docs/reference/remove_attachment).
