Management Plane API > Networking > Services > DHCP Relay Profiles

Read a DHCP Relay Profile

Returns information about the specified dhcp relay profile.

Request:

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

Example Request:

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

Successful Response:

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

Example Response:

{ "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: