Update Inbox
**CLI:**
```bash
agentmail inboxes update --inbox-id <inbox_id> --display-name "Updated Name"
```
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
inbox_id
The ID of the inbox.
Request
Expects an object; provide at least one of display_name or metadata.
display_name
Display name: Display Name <username@domain.com>.
metadata
Metadata to merge into the inbox’s existing metadata. Keys you include
are added or overwritten; keys you omit are left unchanged. To remove a
single key, send it with a null value. To clear all metadata, send
metadata as null. Sending an empty object is rejected; use null to
clear. Each update must include at least one of display_name or
metadata.
Response
This endpoint returns an object.
pod_id
ID of pod.
inbox_id
The ID of the inbox.
email
Email address of the inbox.
updated_at
Time at which inbox was last updated.
created_at
Time at which inbox was created.
display_name
Display name: Display Name <username@domain.com>.
client_id
Client ID of inbox.
metadata
Custom metadata attached to the inbox.
Errors
400
Validation Error
404
Not Found Error
