Reset a context password
POST/nevisidm/api/core/v1/:clientExtId/users/:userExtId/context-passwords/:extId/reset
Since: 2.79.0
Required permission(s): AccessControl.CredentialView,AccessControl.CredentialModify or SelfAdmin Role
Resets the context password credential with the given external ID, belonging to the specified user and client.
The response contains the first part (part 0, length set by the resetCodeLen0 policy parameter) of the generated password in the passwordFragment field. The stored password is part 0 followed by part 1 (length set by resetCodeLen1), which is delivered to the user through the configured communication channel. 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
- 201
- 403
- 404
- 422
Context password reset successfully, password fragment returned
Operation restricted
Referenced resource not found
Invalid request parameters