You can change a user's password with the updateUserPassword method.
Permissions to run the request: Account Owner, Administrators, Department Administrators.
Department Administrators can change passwords of users belonging only to the department they manage and its daughter departments.
|credentials (required)||credentials||Read the description of the Credentials object.|
|userId (required)||string||ID of the user whose password you want to change.|
|password (required)||string||The new password.|
After the request has been completed, the system returns an object with the following properties:
|success||bool||'True' if the password has been changed.|
|Unknown user||A user with the specified ID was not found.|
|Permission Denied||You have no permissions to change the password of the specified user.|
|Wrong Parameters||The system failed to process the request because the 'password' value is not specified or invalid.|