NSX-T Data Center REST API
Update an IP Address Block (Deprecated)
Modifies the IP address block with specifed id. display_name, descriptionand cidr are parameters that can be modified. If a new cidr is specified,
it should contain all existing subnets in the IP block. Returns a conflict error
if the IP address block cidr can not be modified due to the presence of
subnets that it contains. Eg: If the IP block contains a subnet 192.168.0.1/24
and we try to change the IP block cidr to 10.1.0.1/16, it results in a conflict.
Deprecated:
This rest routine is deprecated. Use /infra/ip-blocks/
Request:
Method:
PUT
URI Path(s):
/api/v1/pools/ip-blocks/{block-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
IpBlock+
Example Request:
{ "_revision": 1, "display_name": "IPBlock-Tenant-1", "description": "IPBlock-Tenant-1 Description", "cidr": "192.168.1.0/24" }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
IpBlock+