Department Administratorsand users with a custom role can add users only to the departments they manage and their sub-departments.
Request Headers
Header
Description
X-Auth-Account-Url (required)
The base URL of the account, e.g. https://myaccount.ispringlearn.com
X-Auth-Email (required)
The login of Account Owner,Account Administrator, Department Administrator, or a user with a custom role.
X-Auth-Password (required)
The password of Account Owner,Account Administrator, or Department Administrator, or a user with a custom role.
Parameter
Description
user_id (required)
The ID of the user whose password you would like to change.
password (required)
The new password.
Password complexity rules can be set up in the Settings section.
Possible Response Codes
Code
Text
Description
200
Successful operation
The password has been changed.
400
Bad Request
A request error.
401
Unauthorized
An authorization error.
403
Permission Denied
The user doesn't have enough permissions to update another users' passwords, For instance,Department Administrators can't change passwords of users belonging to a department they don't manage.