POST /auth/forgot-password
パスワード再設定用のメールをユーザーに送信します。公開エンドポイントで認証は不要です。
リクエストボディ
レスポンス
リクエストが受理されたかどうか。セキュリティ上、メールアドレスが存在しなくても常に true を返します。
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."
}