Policy > Networking > IP Management > DHCP > DHCP Static Bindings > Segments Bindings

Create or update DHCP static binding

If binding with the binding-id is not already present,
create a new DHCP static binding instance. If it already exists, replace
the existing DHCP static binding instance with specified attributes.

Request:

Method:
PATCH
URI Path(s):
/policy/api/v1/infra/segments/<segment-id>/dhcp-static-binding-configs/<binding-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
DhcpV4StaticBindingConfig+
DhcpV6StaticBindingConfig+

Example Request:

PATCH https://<policy-mgr>/policy/api/v1/infra/segments/web1/dhcp-static-binding-configs/address1 { "display_name": "vm1-address", "resource_type": "DhcpV4StaticBindingConfig", "gateway_address": "10.1.1.1", "mac_address": "11:22:33:44:55:67", "host_name": "vm1.vmware.com", "ip_address": "30.30.30.175", "options": { "option121": { "static_routes": [ { "network": "10.22.12.1/23", "next_hop": "2.2.2.2" }, { "network": "129.0.0.1/32", "next_hop": "0.0.0.0" } ] } }, "_revision": 0 }

Successful Response:

Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a

Example Response:

200 OK

Required Permissions:

crud

Feature:

policy_segment

Additional Errors: