Change password

Change the password of an authenticated user.

Request
Security:
path Parameters
userId
required
string

The ID of user.

Example: 62
Request Body schema: application/json
currentPassword
required
string <password> (Password) >= 8 characters

The password of the entity. The password must contain eight characters, including one upper case and one lower case letter, one number, and one special character.

newPassword
required
string <password> (Password) >= 8 characters

The password of the entity. The password must contain eight characters, including one upper case and one lower case letter, one number, and one special character.

Responses
200

Successful operation

400

Bad request error

401

Unauthorized error

403

Forbidden error

404

Not found error

500

Internal server error

post/users/{userId}/change-password
Request samples
application/json
{
  • "currentPassword": "123Abcd!",
  • "newPassword": "123Abcd!"
}
Response samples
application/json
{
  • "requestId": "df5fg-45fgfdsg-45fg-45454"
}