跳转到主要内容

Documentation Index

Fetch the complete documentation index at: https://docs.llmgenerator.com/llms.txt

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

POST /auth/forgot-password

向用户发送密码重置邮件。此为公开接口,无需认证。

请求体

email
string
必填
忘记密码的用户邮箱。

响应

success
boolean
请求是否被接受。出于安全考虑,即使系统中不存在该邮箱,也会返回 true
message
string
确认信息。
curl -X POST https://api.llmgenerator.com/api/v1/auth/forgot-password \
  -H "Content-Type: application/json" \
  -d '{
        "email": "user@example.com"
      }'
{
  "success": true,
  "message": "If an account with that email exists, a password reset link has been sent."
}