v1 demo
Reset user password with token
Reset user password using the token from password reset email.
This endpoint:
- Verifies the reset token validity
- Updates user password
- Sends password changed notification email
- Invalidates the reset token after use
**Authentication**: Requires valid reset token (no user authentication)
post/v1/demo/reset-password
Request body
Example request
{
"confirm_password": "newpassword456",
"new_password": "newpassword456",
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9..."
}Response
Successful Response
Example response
{
"message": "Password reset successfully",
"timestamp": "2023-01-01T12:00:00Z"
}