Developer homeGuidesAPI ReferenceAll resourcesChangelog

Statistics API · Domain

Clear domain statistics

DELETE /api/statistics/domain/{id}/statistics

Permanently clears clicks and conversions for this domain and resets link counters. Requires an admin or owner, a write-capable key and ?confirm=DOMAIN_ID. Export needed reports before running.

Path parameters

Query parameters

JSON request body

This reference sends no request body. Check path/query parameters, including any required confirmation, before deleting.

Recent requests

This page only. Credentials and responses are not saved.

TimeMethodStatus

Response codes

200 / 201
Read the resource or report; bulk requests can contain item errors.
400
Check IDs, JSON, dates and filters.
401
Check key expiry, revocation and membership.
402 / 403
Check plan, role and key scope.
404
Resource not found in the permitted workspace or domain.
429
Wait for Retry-After and reduce request frequency.

Language

Your key is sent only to this installation when you select Try it.

Response

Run a request to see its response.

Run from your terminal →