Reset Website
Reset all analytics data for a website while keeping the website configuration intact.Endpoint
Headers
Bearer token for authentication
Path Parameters
Website UUID to reset
Response
Returns a 200 OK status with an empty response body on successful reset.Example Request
Error Responses
Unauthorized - You don’t have permission to reset this website
Not Found - Website does not exist
What Gets Reset
When you reset a website, the following data is permanently deleted:- All pageviews and events
- All sessions and visitor data
- All custom event data
- All reports associated with the website
- All analytics statistics
What Is Preserved
The following website configuration remains intact:- Website ID
- Website name
- Domain
- Share ID
- Team or user ownership
- Creation date
Permissions
To reset a website, you must have update permissions:- Be the website owner (for personal websites)
- Be a team manager or owner (for team websites)
- Have system administrator privileges
Use this endpoint when you want to start fresh with analytics data but keep your website tracking configuration. If you want to completely remove the website, use the Delete Website endpoint instead.