ChangePasswordAsync

Returns (Task)

Change a User’s Password.

Name Description
user The user to change the password for
newPassword The new password to set
keepTFA Default is true. if false is supplied the TFA setting will be removed

Change Password Async

Example in C#

// Returns: nothing
await client.ChangePasswordAsync(UserInfo user, String newPassword, Boolean keepTFA);

Example in CURL



           curl -X POST \
               https://api.us.acresecurity.cloud/api/INSTANCE.KEY/users/USER.KEY/password \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '"New Password"'