Account Owner, Account Administrators, Department Administrators, or custom roles.
Department Administrators and users with a custom role can add users only to the departments they manage and their sub-departments.
|X-Auth-Account-Url (required)||The base URL of the account, e.g.|
|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.|
The ID of the user whose password you would like to change.
Password complexity rules can be set up in the Settings section.
Possible Response Codes
|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.|
POST /user/43f4a84c-6280-11e9-8686-a6210366ac32/password HTTP/1.1 Host: api-learn.ispringlearn.com X-Auth-Account-Url: https://myaccount.ispringlearn.com X-Auth-Email: firstname.lastname@example.org X-Auth-Password: password Content-Type:application/xml <?xml version="1.0" encoding="UTF-8"?> <request> <password>string</password> </request>
HTTP/1.1 200 OK Connection: close