Update a mailbox
Changes the name, username (and so the address), profile picture or password of a set-up mailbox.
apiKeyAuthorizationBearer <token>An API key from the Developers page. rhq_test_ keys reach the sandbox, rhq_live_ keys the live side.
id*stringapplication/json- body
firstName?string1 <= length <= 60lastName?string1 <= length <= 60username?string1 <= length <= 64profilePictureUrl?stringurilength <= 2048password?string12 <= length <= 100Success
application/json- response
Success
id*stringmailboxDomainId*stringemail*stringusername*stringfirstName*stringlastName*stringprofilePictureUrl*string|nullisAdmin*booleanThe domain's first mailbox, which administers its Google account. OAuth client IDs are granted through it
status*stringqueued until the domain is connected; provisioning while it is being set up (minutes to a few hours); active with its sign-in details ready; failed if it could not be set up, when nothing is charged for it; cancelled once its domain is deleted
"queued""provisioning""active""failed""cancelled"setupStage*|Where setup has got to while provisioning
failure*|Why the mailbox is failed
customerId*string|nullactivatedAt*|nullactor*|Who did it; null for anything done before we recorded that
createdAt*stringdate-timecurl -X PATCH "https://example.com/v1/mailboxes/mbx_01K6XJ4Q8ZT3M9R5V2B7WDHNCA" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "mbx_01K6XJ4Q8ZT3M9R5V2B7WDHNCA", "mailboxDomainId": "mdm_01K6XJ4Q8ZT3M9R5V2B7WDHNCA", "email": "[email protected]", "username": "jo", "firstName": "Jo", "lastName": "Bloggs", "profilePictureUrl": "string", "isAdmin": true, "status": "queued", "setupStage": "configuring_dns", "failure": { "code": "DOMAIN_IN_USE_GOOGLE", "message": "Domain is already in use in Google Workspace." }, "customerId": "cus_01K6XJ4Q8ZT3M9R5V2B7WDHNCA", "activatedAt": "2026-10-07T11:04:31.000Z", "actor": { "kind": "user", "label": "string" }, "createdAt": "2026-10-07T11:04:31.000Z"}Get a mailbox GET
Previous Page
Upload a mailbox profile photo POST
Sets the Google profile photo of a set-up mailbox from an uploaded PNG, JPEG, WebP or GIF (at most 1 MB): the photo people see beside its mail. To use an image already online, send its address as `profilePictureUrl` to `PATCH /mailboxes/:id`.