---
title: "Change turboSMTP password"
method: PUT
path: "/change-password"
tags: ["authentication"]
---

# Change turboSMTP password

`PUT /change-password`

**This endpoint allows you to change your current password**

Note: Only ApiKeyAuth is supported. ConsumerKey/ConsumerSecret authentication will return 403.

## PASSWORD RULES

  * Passwords must have at least 10 characters.
  * At least one character must be uppercase.
  * At least one character must be lowercase.
  * At least one character must be numeric.

## Request body

- ChangePasswordRequestBody
  - `current_password` string, required — Current Password.
  - `password` string, required — New Password to be used.
  - `confirm_password` string, required — New Password to be used.

## Response `200`

Sucess

Password changed sucessfully.

- CommonSuccessResponseBody
  - `message` 'success'

## Other responses

- `400` — Bad Request ###### Produces: * invalid_mail_address * current_password_is_missing * current_password_can_not_be_empty * password_is_missing * password_length_should_not_be_less_than_10_characters * password_should_contain_at_least_one_uppercase_character * password_should_contain_at_least_one_lowercase_character * password_should_contain_at_least_one_digit * confirm_password_is_missing * password_should_equal_confirm_password * new_password_should_not_equal_current_password
- `401` — Unauthorized This API requires a valid API Key to be provided. (Use [/authentication/authorize](#/authentication/AuthenticationLogin) to obtain an API Key) Produces: * missing_authorization_key * invalid_authorization_key * account_is_inactive
- `403` — Forbidden Current password provided is incorrect. ###### Produces: * password_is_invalid * not_allowed_for_apikey

---

[API](https://skmtc.net/serversmtp/apis/turbosmtp-public-apis.md) · [All operations](https://skmtc.net/serversmtp/apis/turbosmtp-public-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/serversmtp/turbosmtp-public-apis/versions/8503e099b215/schema)
