ChangePasswordRequest

ChangePasswordRequest
ChangePasswordRequest

Self-service password change request.

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

The caller's current password. A wrong value is answered with 401 INVALID_CREDENTIALS.

string As password As ^(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%^&+=(){}_-])(?=\S+$).{8,20}$
newPassword
Required  
Constraints: minLength: 8 maxLength: 20

8-20 characters with at least one digit, one lowercase letter, one uppercase letter and one special character from !@#$%^&+=(){}_-, and no whitespace. A value that fails the policy is answered with 400 INVALID_PASSWORD_FORMAT.