NSX-T Data Center REST API
Update an IP Pool (Deprecated)
Modifies the specified IP address pool. Modifiable parameters include thedescription, display_name, and all subnet information.
Deprecated:
This rest routine is deprecated. Use /infra/ip-pools/<ip-pool-id> with method type as PUT for updating an IP address pool.
Request:
Method:
PUT
URI Path(s):
/api/v1/pools/ip-pools/{pool-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
IpPool+
Example Request:
{ "_revision": 1, "display_name": "ipv4-pool1", "description": "ipv4-pool", "resource_type": "IpPool", "subnets": [ { "dns_nameservers": [ "192.1.1.2" ], "allocation_ranges": [ { "start": "192.168.1.1", "end": "192.168.1.20" }, { "start": "192.168.1.21", "end": "192.168.1.40" } ], "gateway_ip": "192.168.1.254", "cidr": "192.168.1.0/24" } ] }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
IpPool+