Policy > Networking > IP Management > DHCP > DHCP Relay Configs

Create or update DHCP relay configuration

If DHCP relay config with the dhcp-relay-config-id is not already present, create a new DHCP relay config instance.
If it already exists, update the DHCP relay config instance with specified attributes.
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost) or VMware NSX-T.

Request:

Method:
PATCH
URI Path(s):
/policy/api/v1/infra/dhcp-relay-configs/<dhcp-relay-config-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
DhcpRelayConfig+

Example Request:

PATCH https://<policy-mgr>/policy/api/v1/infra/dhcp-relay-configs/dhcp-relay1 { "server_addresses": [ "10.1.1.1", "10.1.1.2" ] }

Successful Response:

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

Example Response:

200 OK

Required Permissions:

crud

Feature:

policy_dhcp

Additional Errors: