post https://{hostname}/identity-management/v2/user-profile/change-password
To update or change your password, include your old password and your new password in the request body. Run the View password policy operation before you create your new password to ensure it adheres to your policy. If you pass your existing password incorrectly and make too many login attempts, your account locks.