DevelopersAPI referenceRules
Delete a rule (changes it already made stay)
DELETE
bearerheader
AuthorizationBearer <token>A personal API key (ga_…), sent as Authorization: Bearer ga_…. A key gets 403 on a resource it has no access to, and on anything that changes data without write access.
id*stringDeleted
curl -X DELETE 'https://example.com/v1/rules/string'Example Response
Empty
Change a rule PATCH
Fields you leave out are not changed. A given `event`, `condition` or `actions` replaces the whole of it. An empty `description` clears it. The rule must still have at least one action.
Cleanup counts at a glance GET
The numbers for the top of a cleanup page. Nothing is checked when you call this; it reads what the checks found.