Reset password using token from email
PUT
/users/password
Resets the user's password using the token from the reset email. On success, signs the user in and returns a success toast. On failure (invalid token, mismatched passwords, complexity violation), returns 422 with error details.
Request Body
application/json
JSON "user": { "reset_password_token": "abc123def456", "password": "N3wS3cure!#Pass", "password_confirmation": "N3wS3cure!#Pass" }
{
}
Responses
Password reset successfully — user signed in
application/json
JSON "toast": { "title": "Password reset.", "message": [ "Your password has been changed successfully. You are now signed in." ], "variant": "success" }
{
}