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.

Request Headers

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

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

Possible Response Codes

CodeTextDescription
200OkUser's password has been changed.
400Bad RequestThe system failed to process the request, because it did not contain all necessary parameters.

 

Sample Request

POST /user/1/password HTTP/1.1
Host: api.ispringonline.com
X
-Auth-Account-Url: http://myaccount.ispringonline.com
X
-Auth-Email: email@email.com
X
-Auth-Password: password
X
-Password: password

Sample Response

HTTP/1.1 200 OK
Server: nginx
Connection: close
  •