Change Account Password
The user can change the password associated with an account via the URI /accounts/{accountid}/password
. The password is validated against the policy associated with the account.
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/accounts/1/password
PUT Request Body
{
"requestId": "101",
"password": "ACCOUNT_PASSWORD"
}
PUT Response Body
{ "links": [ { "rel": "self", "href": "https://pseudo.com/iam/governance/selfservice/api/v1/accounts/1/password" } ], "requestId": "101", "status": "UPDATED", "id": "1" }