Authentication
POST /auth/password/reset Public
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.
Body
emailstring required- Account email.Example
me@example.com codestring required- The mailed reset code.Example
123456 passwordstring required- New password.
curl -X POST "https://freehire.me/api/v1/auth/password/reset" \
-H 'Content-Type: application/json' \
-d '{"email":"me@example.com","code":"123456","password":"hunter2hunter2"}'{ "data": { "reset": true } }