System Administration > Configuration > Fabric > Pool Management > IP Pools

Update an IP Pool

Modifies the specified IP address pool. Modifiable parameters include the
description, display_name, and all subnet information.

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:

PUT https://<nsx-mgr>/api/v1/pools/ip-pools/4b1c354d-bf7a-42ce-8e27-57e75e803fa8 { "_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+

Example Response:

{ "_revision": 2, "id": "4b1c354d-bf7a-42ce-8e27-57e75e803fa8", "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" } ], "_last_modified_user": "admin", "_last_modified_time": 1414692290422, "_create_time": 1414692027913, "_create_user": "admin" }

Required Permissions:

crud

Feature:

groups_ip_pools

Additional Errors: