Skip to content
TALA
Esc
navigateopen⌘Jpreview

Changes the user password on the reset-password page. Side effect: a successful reset REVOKES ALL of the user’s existing sessions — every other device will get 401 on its next refresh and must re-login.

POST/api/auth/reset-password
Query parameters
tokenstringrequired
Request body
requiredapplication/json
newPasswordstringrequired
confirmPasswordstringrequired
Responses
200OK
any
400Error
any
500Internal Server Error
any
Try it
Server
Parameters
Bodyapplication/json
Request
curl -X POST "http://localhost:8000/api/auth/reset-password?token=string" \
  -H "Content-Type: application/json" \
  -d '{
  "newPassword": "string",
  "confirmPassword": "string"
}'
Response
{
  "message": "You have successfully changed your password"
}