Skip to content
Skip to Content
DevelopersAPI referenceRules

Delete a rule (changes it already made stay)

DELETE
/v1/rules/{id}

Authorization

bearer
headerAuthorizationBearer <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.

Path Parameters

id*string

Response Body

Deleted

Example Request
curl -X DELETE 'https://example.com/v1/rules/string'
Example Response
Empty