changePasswordDTO

changePasswordDTO
changePasswordDTO

Data object for changing authenticated user password

JSON Example
{
    "currentPassword": "string",
    "newPassword": "string"
}
string
currentPassword
Required

Current password of the user

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

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

Parameter To