NSX-T Data Center REST API
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>
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