Mailboxes
Update a mailbox
Updates the fields you name and keeps the rest. `metadata` merges into the stored metadata by key, and a `null` value deletes that key.
Updates the fields you name and keeps the rest. metadata merges into the stored metadata by key, and a null value deletes that key. defaultFrom must be one of the mailbox's addresses.
Authorization
apiKey x-api-key<token>
In: header
Path Parameters
id*string
Match
^mbx_[0-9a-hjkmnp-tv-z]{16,24}$Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
displayName?|null
metadata?|null
defaultFrom?|null
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/v1/mailboxes/string" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "namespaceId": "string", "slug": "string", "displayName": "string", "status": "active", "primaryAddress": "string", "createdAt": "string", "description": "string", "metadata": { "property1": "string", "property2": "string" }, "addresses": [ { "id": "string", "address": "string", "source": "samvaHosted", "domainId": "string", "displayName": "string" } ], "defaultFrom": { "address": "string", "displayName": "string" }, "updatedAt": "string"}