Update Inbox
**CLI:**
```bash
agentmail pods:inboxes update --pod-id <pod_id> --inbox-id <inbox_id>
```
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
pod_id
ID of pod.
inbox_id
The ID of the inbox.
Request
This endpoint expects an object.
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
404
Not Found Error
