Change the password of the current user

Changes the password of the current user.

Note: If the current user does not have a password (e.g. they use Google Authentication) password can be empty. Otherwise, password must be the current password of the user.

Request
Request Body schema: application/json
password
string

The password associated with the current user.

newPassword
required
string non-empty

A new password to associate with the current user.

Responses
200

Success

400

Bad Request

401

Unauthorized

403

Forbidden

500

Server Error

post/users/me/password
Request samples
application/json
{
  • "password": "secret",
  • "newPassword": "even-more-secret"
}