Skip to main content
Version: 2.0

Reset the password for a user

POST 

/v2/users/:username/reset_password

Reset the password for a user.

Request

Path Parameters

    username stringrequired

    Specifies the user ID to update. Note that the username must be percent encoded and URI safe.

Header Parameters

    Request-Timeout integer

    Possible values: >= 1

    The API will make a best effort to complete the request in the specified seconds or time out.

    Request-Timeout-Millis integer

    Possible values: >= 1

    The API will make a best effort to complete the request in the specified milliseconds or time out.

Responses

User was sent the password reset email.

Schema
    one_time_code string

    A one time code that can be used to reset the password. This is optional, and is only populated for some Vectara deployments.

    one_time_code_link string

    The link where to enter the one_time_code. This is optional, and is only populated for some Vectara deployments.

Loading...