Delete blocking rule
delete_blocking_ruleDelete the blocking rule for one event on a site, such as Purchase, or the AllEvents rule. Rules for other events stay. After an event's own rule is deleted, the AllEvents rule applies to that event again. After the AllEvents rule is deleted, events without their own rule are no longer blocked. If the event has no rule, the call is refused and nothing changes. Returns the events that still have a rule, including AllEvents. Repeating an idempotency_key deletes once. Use it when the user wants events that a rule blocks to reach ad platforms again.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site_id": "<site_id>",
"idempotency_key": "<idempotency_key>",
"target": "<target>"
},
"name": "delete_blocking_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | AllEvents, or the event whose rule to delete, such as Purchase. Event names are in list_supported_values's `events`. | |
| site_id | Yes | Site to act on, as returned by list_sites. | |
| idempotency_key | Yes | Unique string per intended change, such as a UUID. Repeating a key returns the first result instead of writing again. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules_left | Yes | Events that still have a blocking rule after the delete, such as AllEvents or Lead. Empty when the site has no rules left. |