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

Create a new IPBlock

Creates a new IpAddressBlock with specified ID if not already present.
If IpAddressBlock of given ID is already present, then the instance is
updated with specified attributes.

Request:

Method:
PATCH
URI Path(s):
/policy/api/v1/infra/ip-blocks/{ip-block-id}
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/ip-blocks/{ip-block-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
IpAddressBlock+

Example Request:

PATCH https://<policy-mgr>/policy/api/v1/infra/ip-blocks/Finance-block { "display_name": "Finance-block", "description": "Finance-block Description", "cidr": "192.168.0.0/16" }

Successful Response:

Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a

Required Permissions:

crud

Feature:

policy_ipam

Additional Errors: