Access Rules
List IP Access rules
Get an IP Access rule
Create an IP Access rule
Update an IP Access rule
Delete an IP Access rule
ModelsExpand Collapse
CountryConfiguration { target, value }
The configuration target. You must set the target to country when specifying a country code in the rule.
The two-letter ISO-3166-1 alpha-2 code to match. For more information, refer to IP Access rules: Parameters.
AccessRuleListResponse { id, allowed_modes, configuration, 5 more }
allowed_modes: Array<"block" | "challenge" | "whitelist" | 2 more>The available actions that a rule can apply to a matched request.
The available actions that a rule can apply to a matched request.
configuration: AccessRuleIPConfiguration { target, value } | IPV6Configuration { target, value } | AccessRuleCIDRConfiguration { target, value } | 2 moreThe rule configuration.
The rule configuration.
CountryConfiguration { target, value }
The configuration target. You must set the target to country when specifying a country code in the rule.
The two-letter ISO-3166-1 alpha-2 code to match. For more information, refer to IP Access rules: Parameters.
AccessRuleGetResponse { id, allowed_modes, configuration, 5 more }
allowed_modes: Array<"block" | "challenge" | "whitelist" | 2 more>The available actions that a rule can apply to a matched request.
The available actions that a rule can apply to a matched request.
configuration: AccessRuleIPConfiguration { target, value } | IPV6Configuration { target, value } | AccessRuleCIDRConfiguration { target, value } | 2 moreThe rule configuration.
The rule configuration.
CountryConfiguration { target, value }
The configuration target. You must set the target to country when specifying a country code in the rule.
The two-letter ISO-3166-1 alpha-2 code to match. For more information, refer to IP Access rules: Parameters.
AccessRuleCreateResponse { id, allowed_modes, configuration, 5 more }
allowed_modes: Array<"block" | "challenge" | "whitelist" | 2 more>The available actions that a rule can apply to a matched request.
The available actions that a rule can apply to a matched request.
configuration: AccessRuleIPConfiguration { target, value } | IPV6Configuration { target, value } | AccessRuleCIDRConfiguration { target, value } | 2 moreThe rule configuration.
The rule configuration.
CountryConfiguration { target, value }
The configuration target. You must set the target to country when specifying a country code in the rule.
The two-letter ISO-3166-1 alpha-2 code to match. For more information, refer to IP Access rules: Parameters.
AccessRuleEditResponse { id, allowed_modes, configuration, 5 more }
allowed_modes: Array<"block" | "challenge" | "whitelist" | 2 more>The available actions that a rule can apply to a matched request.
The available actions that a rule can apply to a matched request.
configuration: AccessRuleIPConfiguration { target, value } | IPV6Configuration { target, value } | AccessRuleCIDRConfiguration { target, value } | 2 moreThe rule configuration.
The rule configuration.
CountryConfiguration { target, value }
The configuration target. You must set the target to country when specifying a country code in the rule.
The two-letter ISO-3166-1 alpha-2 code to match. For more information, refer to IP Access rules: Parameters.