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
class CountryConfiguration: …
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.
class AccessRuleListResponse: …
allowed_modes: List[Literal["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: ConfigurationThe rule configuration.
The rule configuration.
class AccessRuleCIDRConfiguration: …
class CountryConfiguration: …
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.
An informative summary of the rule, typically used as a reminder or explanation.
class AccessRuleGetResponse: …
allowed_modes: List[Literal["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: ConfigurationThe rule configuration.
The rule configuration.
class AccessRuleCIDRConfiguration: …
class CountryConfiguration: …
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.
An informative summary of the rule, typically used as a reminder or explanation.
class AccessRuleCreateResponse: …
allowed_modes: List[Literal["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: ConfigurationThe rule configuration.
The rule configuration.
class AccessRuleCIDRConfiguration: …
class CountryConfiguration: …
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.
An informative summary of the rule, typically used as a reminder or explanation.
class AccessRuleEditResponse: …
allowed_modes: List[Literal["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: ConfigurationThe rule configuration.
The rule configuration.
class AccessRuleCIDRConfiguration: …
class CountryConfiguration: …
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.
An informative summary of the rule, typically used as a reminder or explanation.