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 a part of the generated password in the passwordFragment field (HTTP 201) or no content is returned (HTTP 204). Changes the state of the credential to initial.

Supports self-admin mode with JWT token validation.

Request

Path Parameters

    clientExtId stringrequired

    External ID of the client.

    Example: client-123
    userExtId stringrequired

    External ID of the user.

    Example: user-123

Responses

Password reset successfully, password fragment returned

Schema
    passwordFragment string

    A part of the generated password.

Loading...