---
title: "Password Link Set"
method: POST
path: "/api/auth/password-link"
tags: ["accounts"]
---

# Password Link Set

`POST /api/auth/password-link`

## Request

- Base URL: `https://www.ucai.net` (the document declares no server; this is the origin it was published from)
- URL: `https://www.ucai.net/api/auth/password-link`
- Auth: none declared

用邮件里的一次性链接设口令，设好直接登录。链接用过即作废。

## Request body

- PasswordLinkRequest
  - `token` string
  - `password` string

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ucai/apis/abs-core.md) · [All operations](https://skmtc.dev/ucai/apis/abs-core/llms.txt) · [OpenAPI document](https://skmtc.dev/ucai/apis/abs-core/revisions/1502a61b5620?raw)
