Skip to main content
POST
/
v1
/
auth
/
pw
/
reset_with_token
Reset Password With Token Handler
curl --request POST \
  --url http://localhost:8000/v1/auth/pw/reset_with_token \
  --header 'Content-Type: application/json' \
  --data '
{
  "email_token": "<string>",
  "new_password": "<string>"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "email": "<string>",
  "first_name": "<string>",
  "last_name": "<string>",
  "idp_type": "PASSWORD",
  "current_tenant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "current_tenant_role": "USER",
  "default_tenant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Documentation Index

Fetch the complete documentation index at: https://docs.knowledgestack.ai/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
email_token
string
required

Email verification token

new_password
string
required

New password

Minimum string length: 8

Response

Successful Response

id
string<uuid>
required

User ID

email
string | null
required

Email address of the user

first_name
string | null
required

First name of the user

last_name
string | null
required

Last name of the user

idp_type
enum<string>
required

Identity provider type of the user

Available options:
PASSWORD,
GOOGLE,
TENANT
current_tenant_id
string<uuid>
required

Current tenant ID the user is logged into

current_tenant_role
enum<string>
required

Current tenant role of the user

Available options:
USER,
OWNER,
ADMIN
default_tenant_id
string<uuid>
required

Default tenant ID the user shall be logged into