Skip to main content

Reset a password

POST 

/nevisidm/api/core/v1/:clientExtId/users/:userExtId/password/reset

Since: 2.78.0

Required permission(s): AccessControl.CredentialView,AccessControl.CredentialModify or SelfAdmin Role

Resets the password of the user with the given external ID, belonging to the specified client.

Depending on the password policy, the response either contains the first part (part 0, length set by the resetCodeLen0 policy parameter) of the generated password in the passwordFragment field (HTTP 201) or no content is returned (HTTP 204). The stored password is part 0 followed by part 1 (length set by resetCodeLen1); when resetCodeLen1 is 0, the returned value is the complete password. Changes the state of the credential to initial.

Supports self-admin mode with JWT token validation.

Request​

Responses​

Password reset successfully, password fragment returned