Management Plane API > Networking > Services > DHCP Relay

List all DHCP Relay Services

Returns information about all configured dhcp relay services.

Request:

Method:
GET
URI Path(s):
/api/v1/dhcp/relays
Request Headers:
n/a
Query Parameters:
ListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/dhcp/relays

Successful Response:

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

Example Response:

{ "result_count": 1, "results": [ { "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: