Update an inbox
Requires a full-scope key. Updates display_name and retention_days. Address, username, domain and test_mode do not change. retention_days must be from 1 through the plan maximum.
PATCH/v1/inboxes/{inbox_id}
Request body
| Parameter | Description |
|---|---|
display_namestring | Control characters are rejected. At most 64 characters. An empty name is allowed. Maximum length: 64. |
retention_daysinteger | Days to keep received mail, from 1 through the plan maximum. |
Full request schema and constraints
application/json- body
display_name?stringControl characters are rejected. At most 64 characters. An empty name is allowed.
Length
length <= 64retention_days?integerDays to keep received mail, from 1 through the plan maximum.
Range
1 <= valuePath parameters
| Parameter | Description |
|---|---|
inbox_idrequiredstring |
header
AuthorizationBearer <token>API key: st_live_... or st_test_...
The updated inbox.
application/json- response
id*stringaddress*stringusername*stringdomain*stringdisplay_name*stringLength
length <= 64retention_days*integerRange
1 <= valuetest_mode*booleanMode of the key or dashboard session that created the inbox. It never changes.
created_at*stringFormat
date-time