Open Gauge
Auth

Reset Password Endpoint

Complete a password reset from the emailed link and sign the user in. Tokens expire 1 hour after being requested.

POST
/api/v1/auth/reset-password

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/v1/auth/reset-password" \  -H "Content-Type: application/json" \  -d '{    "token": "string",    "new_password": "stringst"  }'
{  "access_token": "string",  "token_type": "bearer"}
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string"    }  ]}