---
title: "Reset Password"
method: POST
path: "/api/auth/reset-password"
tags: ["auth"]
---

# Reset Password

`POST /api/auth/reset-password`

## Request

- Base URL: `https://api.equity-rank.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.equity-rank.com/api/auth/reset-password`
- Auth: none declared

Trigger a Supabase password reset email for the given address.

Uses supabase.auth.admin.generate_link (magic link / recovery link) so
the token is generated server-side without the user being logged in.

Import is lazy — supabase transitively requires pyiceberg which has no
Windows/Python-3.14 binary wheel; lazy import avoids module-level crash.

## Request body

- ResetPasswordRequest
  - `email` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/equity-rank/apis/equity-rank-api.md) · [All operations](https://skmtc.dev/equity-rank/apis/equity-rank-api/llms.txt) · [OpenAPI document](https://skmtc.dev/equity-rank/apis/equity-rank-api/revisions/c2f2463fee33?raw)
