Web Services API | User web services | Change password
Modified on: Thu, 13 Apr 2023 4:30 PMChange password
Changes a user's password (always synchronously) by id or username.
- Url: /integration/ws/management/rest/users/<user_id_or_username>/changePassword
- Method: PUT
-
Headers:
- Accept: version/format header
- X-Cloud-Auth-Token*: authorization header
-
Parameters:
- newPassword*: user's new password
-
Responses:
-
200: OK. Content:
- status: generic status
- location: generic location of the resultant resource, if any
- message: generic success or error message, if any
-
responsePlatforms: response for every platform it concerns. Each one with the content:
- status: status in the platform
- location: location of the resultant resource in the platform, if any
- message: success or error message in the platform, if any
-
200: OK. Content:
- Url example by user id: http://<tenant>.learningcloud.me/integration/ws/management/rest/users/ff808181556ee70e015572136a250012/changePassword
- Url example by username: http://<tenant>.learningcloud.me/integration/ws/management/rest/users/restuser.acme/changePassword
-
Parameters example:
- newPassword: 1234
- Response example:
{
"location": null,
"message": "",
"responsePlatforms": {
"management": {
"location": null,
"message": null,
"status": 204
}
},
"status": 204 }