IP Lists
This PubIic Stable API can get, create, update, and delete IP lists.
IP lists can be used in rules to define sets of trusted IP addresses, IP address ranges, or CIDR blocks allowed into your data center that are allowed to access workloads in your network.
IP Lists API
Functionality | HTTP | URI |
---|---|---|
Get a collection of IP lists |
|
|
Get an individual IP list |
|
|
Create an IP list |
|
|
Update an IP list |
|
|
Delete an IP list |
|
|
Active vs Draft
Get IP Lists
This API allows you to get a collection of IP lists or a single IP list from an organization.
By default, the maximum number returned on a GET collection of IP lists is 500. If you want to get more than 500 IP lists, use Asynchronous GET Collections.
URI to Get Collection of IP Lists
GET [api_version][org_href]/sec_policy/draft/ip_lists
URI to Get an Individual IP List
GET [api_version][ip_list_href]
Create an IP List
This API allows you to create IP lists (allowlists) that can be used to create rules in rulesets. An IP list can contain a single IP address or an IP address range.
Warning
Please be aware of the following:
0.0.0.0/0 means 0-255 . 0-255 . 0-255 . 0-255 or all possible IP addresses.
0.0.0.0 without the trailing "/0", means a single IP (not ANY IP). This is a rare but sometimes needed object, specifically for DHCP Discovery.
0.0.0.0, when used improperly, might trigger an error, prevent the list from being accepted, and consequently block traffic.
Use the correct syntax for the intended purpose.
URI to Create an IP List
POST [api_version][org_href]/sec_policy/draft/ip_lists