POST
/api/auth/reset-password
Reset password
Resets user password using a verified email code.
curl -s -X POST "$BASE/api/auth/reset-password" \
-H "Content-Type: application/json" \
-d '{"email": "user@example.com", "code": "123456", "newPassword": "newSecret"}'请求体
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| string | Y | — | ||
| code | string | Y | — | |
| newPassword | string | Y | — |