身分驗證
POST /auth/password/reset 公開
Set a new password against a mailed code.
Public — the code is the credential. Success revokes every existing session, so sign in fresh with the new password afterward.
請求內容
emailstring 必填- 帳戶電子郵件。範例
[email protected] codestring 必填- The mailed reset code.範例
123456 passwordstring 必填- New password.
curl -X POST "https://freehire.me/api/v1/auth/password/reset" \
-H 'Content-Type: application/json' \
-d '{"email":"[email protected]","code":"123456","password":"hunter2hunter2"}'{ "data": { "reset": true } }