For the complete documentation index, see llms.txt. This page is also available as Markdown.

Change mailbox password

Change the password of a mailbox.

Change mailbox password

patch

Change the password of a mailbox.

Authorizations
AuthorizationstringRequired

API Token authentication

Path parameters
mailboxIdstringRequired

Mailbox resource ID

Example: AC1a2b3c4d5e6f7g
Body
passwordstring · password · min: 8 · max: 50Required

New mailbox password. Minimum 8 characters with uppercase, lowercase, number and special character; must not be a commonly used password.

Example: SecurePassword123!
Responses
200

Success response

application/json
messagestringOptionalExample: Request accepted
patch/api/mail/v1/mailboxes/{mailboxId}/password
PATCH /api/mail/v1/mailboxes/{mailboxId}/password HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 33

{
  "password": "SecurePassword123!"
}
{
  "message": "Request accepted"
}

Last updated

Was this helpful?