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 username to update. Note the username must be percent encoded and URI safe.
Responses
- 204
- 403
- 404
User was sent the password reset email.
Permissions do not allow resting the user password.
- application/json
- Schema
- Example (from schema)
Schema
messages message[]
The messages describing why the error occurred.
request_id string
The ID of the request that can be used to help Vectara support debug what went wrong .
{
"messages": [
"Internal server error."
],
"request_id": "string"
}
User not found.
- application/json
- Schema
- Example (from schema)
Schema
id string
The ID cannot found.
messages message[]
request_id string
ID of the request that can be used to help Vectara support debug what went wrong.
{
"id": "string",
"messages": [
"string"
],
"request_id": "string"
}
Loading...