---
title: "Change mailbox password"
method: PATCH
path: "/api/mail/v1/mailboxes/{mailboxId}/password"
tags: ["Mail: Mailboxes"]
---

# Change mailbox password

`PATCH /api/mail/v1/mailboxes/{mailboxId}/password`

Change the password of a mailbox.

## Path parameters

- `mailboxId` string, required

## Request body

- MailV1SchemaChangeMailboxPasswordRequestSchema
  - `password` string, password, required — New mailbox password. Minimum 8 characters with uppercase, lowercase, number and special character; must not be a commonly used password.

## Response `200`

Success response

- CommonSuccessEmptyResource
  - `message` string

## Other responses

- `400` — Error response
- `401` — Unauthenticated response
- `404` — Error response
- `422` — Error response
- `500` — Error response

---

[API](https://skmtc.net/hostinger/apis/hostinger-api.md) · [All operations](https://skmtc.net/hostinger/apis/hostinger-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hostinger/hostinger-api/revisions/74abfea76e36/schema)
