Modify IP/Geo Firewall settings

All products Update the method and which network lists to use for IP/Geo firewall blocking. In Control Center this method is called mode. In this API the method is called blocked. Use blockSpecificIPGeo to block any IPs, geographies, or network lists you choose with this setting. Use blockAllTrafficExceptAllowedIPs to allow specific IPs or geographies that you choose to let through while the rest remain blocked. IPs you want to allow are contained in the allowedIPNetworkLists. It's important to verify the IPs you block are the ones you intend to block as it's easy to block wanted traffic by accident. Note that subnet controls are a legacy item in Control Center and are not available through this API.

Path Params
int64
required

A unique identifier for each configuration.

integer
required

A unique identifier for each version of a configuration.

string
required

A unique identifier for a security policy.

Query Params
string

For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Body Params
asnControls
object

The network lists you block or allow by AS number.

string
required

The method by which you block or allow requests by IP or geographic location. In Control Center, this is called mode. Use blockSpecificIPGeo to block any IPs, subnets, geographies, or network lists you specify. Use blockAllTrafficExceptAllowedIPs to allow requests from IPs, subnets, geographies or networks lists in your blockExceptions maintained in Network Lists API.

geoControls
object

The network lists you block geographically.

ipControls
object

The network lists you block or allow by IP.

ukraineGeoControl
object

The settings for requests to and from Ukraine.

Responses

Language
Authentication
URL
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json