> 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.

# `update_inbox`

Rename an inbox.

Changes an inbox's display name, the one its recipients read in “From:”. The address does not change. The new name applies to messages written afterwards; those already waiting (drafts, queue) keep theirs.

## Access

- **Key**: an Escouade Mail key with `manage_inboxes`.
- **Space**: any space, verified or not.
- **Changes nothing**: no, it acts.
- **Safe to replay**: yes.

## Parameters

| Parameter | Type | Required | Description |
|---|---|---|---|
| `inbox_id` | string | yes | The inbox to rename (inb_…). |
| `display_name` | string | yes | The new name shown in “From:”. |

## Call it

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

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