Change User Password
Users can change their password with the URI /users/{userid}/password PUT. The password is validated against the password policy for the user.
cURL Example
curl -H "Content-Type: application/json" -H "X-Requested-By: <anyvalue>" -X PUT -u username:password -d @put.json https://pseudo.com/iam/governance/selfservice/api/v1/users/5/password
PUT Request Body
{
"oldPassword": "OLD_PASSWORD",
"newPassword": "NEW_PASSWORD",
"confirmPassword": "NEW_PASSWORD"
}PUT Response Body
{
"links": [
{
"rel": "self",
"href": "https://pseudo.com/iam/governance/selfservice/api/v1/users/5"
}
],
"id": "5"
}