NSX-T Data Center REST API
Update a DHCP Relay Service (Deprecated)
Modifies the specified dhcp relay service.Deprecated: Please use Policy API: PUT /policy/api/v1/infra/segments/{segment-id} { "display_name" : "segment-1", "subnets": [ { "gateway_address": "40.1.1.1/16", "network": "40.1.2.0/24" } ], "dhcp_config_path" : "/infra/dhcp-relay-configs/dhcp-relay-profile", "connectivity_path": "/infra/tier-1s/mgw", "_revision" : 0 }
Request:
Method:
PUT
URI Path(s):
/api/v1/dhcp/relays/{relay-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
DhcpRelayService+
Example Request:
{ "_revision": 1, "dhcp_relay_profile_id": "bbfa30e4-87b6-41b8-8da5-771055967da1" }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
DhcpRelayService+