Skip to main content

Update a context password

PATCH 

/nevisidm/api/core/v1/:clientExtId/users/:userExtId/context-passwords/:extId

Since: 2.73.0

Required permission(s): AccessControl.CredentialView,AccessControl.CredentialModify

Partially updates the context password credential with the given external ID, belonging to the specified user and client. Only provided fields will be updated.

The context value cannot be changed after creation. The assigned policy can be changed by specifying policyExtId, which must exist and be of type ContextPasswordPolicy. 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​

Context password updated successfully