Returns (Task)
Change a User’s Password.
Name | Description |
---|---|
user | |
newPassword | |
keepTFA | Default is true. if false is supplied the TFA setting will be removed |
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"'