---
title: "Reset mailbox password"
method: PATCH
path: "/mailboxes/{id}/password"
tags: ["Mailboxes"]
---

# Reset mailbox password

`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`)

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.

## Headers

- `X-Shipmail-Organization` string

## Request body

- ResetMailboxPasswordRequest
  - `password` string, required: New mailbox login password. Must be 8-128 characters and include lowercase, uppercase, and numeric characters.

## Response `200`

Updated mailbox.

- Mailbox
  - `object` 'mailbox', required
  - `id` string, required
  - `domain_id` string, required
  - `address` string, required
  - `display_name` string, nullable, required
  - `suspended_at` string, date-time, nullable, required: When the mailbox was suspended. Null if active.
  - `suspension_reasons` string[], required: Independent reasons currently keeping the mailbox suspended.
  - `auto_reply` object, required
    - `enabled` boolean, required
    - `subject` string, nullable, required
    - `body` string, nullable, required
    - `from_date` string, date-time, nullable, required
    - `to_date` string, date-time, nullable, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `401`: Authentication failed.
- `403`: Insufficient permissions.
- `404`: Resource not found.
- `422`: Validation failed.
- `429`: Rate limit exceeded.

---

[API](https://skmtc.dev/shipmail/apis/shipmail-api.md) · [All operations](https://skmtc.dev/shipmail/apis/shipmail-api/llms.txt) · [OpenAPI document](https://skmtc.dev/shipmail/apis/shipmail-api/revisions/2c23e59d7e30?raw)
