Browse the help center

Get zone rules

Retrieves all targeting rules groups currently assigned to the specified zone.

Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/rules/zone/{zoneId}/get.do

Retrieves all targeting rules groups currently assigned to the specified zone. The response JSON contains 'success: true', a 'ruleGroups' array with each group's ID, rules, operator, and include/exclude flag, and 'rulesEnabled'. The groups are listed whether or not rules are switched on for the zone; they take effect only while rulesEnabled is true.

Path Params

zoneId integer required

The unique numeric identifier of the zone whose rules groups should be retrieved

6001

Responses

200

Successfully retrieved rules

400

Bad request — invalid or missing parameters

401

Unauthorized - authentication error

403

Forbidden - insufficient permissions

404

Zone not found

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.