Management Plane API > Networking > Services > DHCP

Update a DHCP server's IP pool

Update a specific ip pool of a given logical DHCP server.

Request:

Method:
PUT
URI Path(s):
/api/v1/dhcp/servers/<server-id>/ip-pools/<pool-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
DhcpIpPool+

Example Request:

PUT /api/v1/dhcp/servers/d7f425da-25d2-4e5e-ae9e-ea112375971d/ip-pools/1b6cb97f-ffa3-407c-b2ed-a9616feb95dd { "display_name" : "DHCP-ip-pool-3", "gateway_ip" : "192.168.150.1", "allocation_ranges" : [ { "start" : "192.168.150.100", "end" : "192.168.150.200" } ], "_revision" : 0 }

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
DhcpIpPool+

Example Response:

{ "resource_type" : "DhcpIpPool", "id" : "1b6cb97f-ffa3-407c-b2ed-a9616feb95dd", "display_name" : "DHCP-ip-pool-3", "lease_time" : 86400, "gateway_ip" : "192.168.150.1", "allocation_ranges" : [ { "start" : "192.168.150.100", "end" : "192.168.150.200" } ], "error_threshold" : 100, "warning_threshold" : 80, "_last_modified_user" : "admin", "_last_modified_time" : 1478306403854, "_revision" : 1 }

Required Permissions:

crud

Feature:

dhcp_servers

Additional Errors: