Reset a user's password
POST/api/auth/reset-password
Validates the password reset token and updates the user's password. The token must not be expired. Returns 201 on success, or an appropriate error if the token is invalid, expired, or the user cannot be found.
Request
Responses
- 201
- 400
- 403
- 404
- 500
Password reset successfully.
The reset request is invalid.
The password reset token has expired.
The user was not found or is inactive.
An unexpected server error occurred.