Change Password

Change Password

Use this endpoint to change current user password
Authorized Roles : ANY

Request
URI
PUT
https://{api_host}/provider/users/change-password
COPY
Request Body
changePasswordDTO of type(s) application/json
Required
{
    "currentPassword": "string",
    "newPassword": "string"
}
string
currentPassword
Required

currentPassword

string As ^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[?!@#$%^&*])[A-Za-z\d?!@#$%^&*]{8,20}$
newPassword
Required

Password Rule - Minimum 8 and Maximum 20 characters, at least one uppercase letter, one lowercase letter, one number and one special character(?!@#$%^&*)

Authentication
This operation uses the following authentication methods.
Responses
200

OK

Operation doesn't return any data structure

400

Bad Request

Operation doesn't return any data structure