Update a password credential
PATCH/nevisidm/api/core/v1/:clientExtId/users/:userExtId/password
Since: 2.71.0
Required permission(s): AccessControl.CredentialView,AccessControl.CredentialModify
Partially updates the password credential of the user with the given external ID, belonging to the specified client. Only provided fields will be updated.
The credential state, modification comment and assigned password policy can be changed. If a new policy is specified, it must exist and be of type PwdPolicy. Changing the policy does not recreate the credential: the password, its history and the login counters are preserved, and the validity period is recalculated according to the new policy. The existing password is not re-validated against the new policy, so it may not comply with it until it is changed next. If no policy is specified, the currently assigned policy is kept.
Request
Responses
- 200
- 403
- 404
- 409
- 422
Password credential updated successfully
Insufficient permissions
Referenced resource not found
Optimistic locking conflict
Invalid request parameters