Account-level Firewall access rule

A firewall access rule applied to all zones owned by the account

List Access Rules

GET Search, sort, and filter IP/country access rules

GET accounts/:account_identifier/firewall/access_rules/rules

Permission needed: #waf:read

Available in:

  • FREE
  • PRO
  • BUSINESS
  • ENTERPRISE

Create Access Rule

POST Make a new IP, IP range, or country access rule for all zones owned by the account. Note: If you would like to create an access rule that applies to a specific zone only, use the zone firewall endpoints.

POST accounts/:account_identifier/firewall/access_rules/rules

Permission needed: #waf:edit

Available in:

  • FREE
  • PRO
  • BUSINESS
  • ENTERPRISE

Access Rule Details

GET Get the details of an access rule

GET accounts/:account_identifier/firewall/access_rules/rules/:identifier

Permission needed: #waf:read

Available in:

  • FREE
  • PRO
  • BUSINESS
  • ENTERPRISE

Update Access Rule

PATCH Update rule state and/or configuration. This will be applied across all zones owned by the account.

PATCH accounts/:account_identifier/firewall/access_rules/rules/:identifier

Permission needed: #waf:edit

Available in:

  • FREE
  • PRO
  • BUSINESS
  • ENTERPRISE

Delete Access Rule

DELETE Remove an access rule so it is no longer evaluated during requests. This will apply to all zones owned by the account

DELETE accounts/:account_identifier/firewall/access_rules/rules/:identifier

Permission needed: #waf:edit

Available in:

  • FREE
  • PRO
  • BUSINESS
  • ENTERPRISE