Management Plane API > Networking > Services > DHCP Relay Profiles

List All DHCP Relay Profiles

Returns information about all dhcp relay profiles.

Request:

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

Example Request:

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

Successful Response:

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

Example Response:

{ "result_count": 1, "results": [ { "resource_type": "DhcpRelayProfile", "_revision": 0, "id": "bbfa30e4-87b6-41b8-8da5-771055967da1", "display_name": "dhcp-relay-external-servers", "server_addresses": [ "10.1.1.1", "10.2.2.2", "10.3.3.3", "10.4.4.4" ], "_last_modified_user": "admin", "_last_modified_time": 1414623610509, "_create_time": 1414623610509, "_create_user": "admin" } ] }

Required Permissions:

read

Feature:

dhcp_relay_profile

Additional Errors: