Policy > Networking > IP Management > IP Address Pools > IP Blocks

List IpAddressBlocks

Paginated list of IpAddressBlocks.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/ip-blocks
Request Headers:
n/a
Query Parameters:
PolicyListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/ip-blocks

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
IpAddressBlockListResult+

Example Response:

{ "sort_ascending": true, "sort_by": "display_name", "result_count": 1, "results": [ { "resource_type": "IpAddressBlock", "id": "Finance-block", "display_name": "Finance-block", "path": "/infra/ip-blocks/Finance-block", "parent_path": "/infra/ip-blocks", "relative_path": "Finance-block", "cidr": "192.168.0.0/16", "_create_user": "admin", "_create_time": 1516387911610, "_last_modified_user": "admin", "_last_modified_time": 1516387911610, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 } ] }

Required Permissions:

read

Feature:

policy_ipam

Additional Errors: