Mailboxes

Reset mailbox password

Reset the login password for a mailbox. Requires mailbox_credentials:write and an Owner or Admin who can read the mailbox, or its own sign-in principal. Non-Owners cannot reset a mailbox that receives an Owner login address. API keys created before 2026-09-29 may still use mailboxes:write alone; that exception is deprecated and will be removed.

patch/mailboxes/{id}/password

Request

  • Base URL: https://shipmail.to/api/v1
  • URL: https://shipmail.to/api/v1/mailboxes/{id}/password
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://shipmail.to/api/auth/oauth2/authorize, token URL https://shipmail.to/api/auth/oauth2/token)

Headers

X-Shipmail-Organizationstring

OAuth access tokens only. The organization ID this request acts on. Required when the OAuth connection was approved for several organizations (400 validation_error without it); optional with one. An organization the connection was not approved for returns 403 authorization_error. Ignored for API keys, which belong to one organization.

Request body

passwordstring required

New mailbox login password. Must be 8-128 characters and include lowercase, uppercase, and numeric characters.

Response

Updated mailbox.

object'mailbox' required
idstring required
domain_idstring required
addressstring required
display_namestring nullable required
suspended_atstring date-time nullable required

When the mailbox was suspended. Null if active.

suspension_reasonsstring[] required

Independent reasons currently keeping the mailbox suspended.

created_atstring date-time required
updated_atstring date-time required

Example response

{
  "address": "hello@example.com"
}

Changes

No recorded changes to this operation across all 1 revision of this API.