Delete Site

Remove a site and all its data.

Delete Site

Permanently deletes a site and all associated analytics data. This action cannot be undone. Requires admin role.

Endpoint

DELETE /api/v1/organizations/:orgId/sites/:siteId

Request Body

FieldTypeRequiredDescription
confirm_domainstringYesMust match the site's domain for confirmation

This permanently deletes all pageviews, events, goals, funnels, and visitor data for the site. Make sure to export any data you need before deleting.

This endpoint requires JWT authentication and is not accessible via API key.