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

Read a IpAddressBlock

Read IpAddressBlock with given Id.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/ip-blocks/<ip-block-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

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

Successful Response:

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

Example Response:

{ "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: