Page tree
Skip to end of metadata
Go to start of metadata

You can change user's password by sending the POST request to the following URL: /user/<user_id>/password.

Permission to run the request: Account Owner, Administrator, Organization Administrator.

 

Request Headers

ParameterDescription
X-Auth-Account-Url (required)Base URL of the account, e.g. http://myaccount.ispringlearn.com
X-Auth-Email (required)Administrator/Organization Administrator e-mail address.
X-Auth-Password (required)Administrator/Organization Administrator password.
X-Password (required)A new password for the specified user.

A new password should include from 6 to 100 characters with one uppercase letter (A-Z) and a number (0-9). 

After the request has been completed, the system returns a response with Code 200.

 

Possible Response Codes

CodeTextDescription
404Unknown userUser with the specified ID was not found.
403Permission deniedYou have no permissions to change password the specified user.
200OkUser's password has been changed.
400Bad RequestThe system failed to process the request, because the 'X-Password' value is not specified or invalid.

 

Sample Request

 

Sample Response

  •