changePasswordDTO
changePasswordDTO
Data object for changing loggedin user password
JSON Example
{
"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(?!@#$%^&*)