Management Plane API > Networking > Services > DHCP Relay

Read a DHCP Relay Service

Returns the dhcp relay service information.

Request:

Method:
GET
URI Path(s):
/api/v1/dhcp/relays/<relay-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/dhcp/relays/bbfa30e4-87b6-41b8-8da5-771055967da1

Successful Response:

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

Example Response:

{ "resource_type" : "DhcpRelayService", "_revision": 0, "id": "fac2f67e-a860-4a9f-842b-a3cb6e34bb73", "dhcp_relay_profile_id": "bbfa30e4-87b6-41b8-8da5-771055967da1", "_last_modified_user": "admin", "_last_modified_time": 1414704710165, "_create_time": 1414704710165, "_create_user": "admin" }

Required Permissions:

read

Feature:

dhcp_relay_services

Additional Errors: