Networking

Retrieve a CpeDhcp

Work with CpeDhcp.Retrieves the CpeDhcp with the given ID.

get/admin/networking/cpe-dhcp/{id}

Request

  • Base URL: https://demo.splynx.com/api/2.0
  • URL: https://demo.splynx.com/api/2.0/admin/networking/cpe-dhcp/{id}
  • Auth: HTTP basic

Path parameters

idnumber double required
Example:1

The ID ofthe desired CpeDhcp.

Response

idnumber

CpeDhcp id.

namestring

CpeDhcp name.

enablednumber

CpeDhcp is enabled. Default: 0. Values: 0 or 1.

interfacestring required

CpeDhcp interface.

lease_timenumber

CpeDhcp lease time. Default: 10.

networkstring required

CpeDhcp network.

gatewaystring required

CpeDhcp gateway.

pool_fromstring required

CpeDhcp pool from.

pool_tostring required

CpeDhcp pool to.

dns_serversstring

CpeDhcp DNS servers.

wins_serverstring

CpeDhcp wins servers.

Example response

{
  "id": 1,
  "name": "cpedhcp 1",
  "enabled": 1,
  "interface": "wlan",
  "lease_time": 10,
  "network": "12.42.142.29",
  "gateway": "15.32.15.241",
  "pool_from": "14.144.41.152",
  "pool_to": "52.14.16.145",
  "dns_servers": "25.15.15.74,135.21.45.124",
  "wins_server": "25.15.15.74,135.21.45.124"
}

Changes

No recorded changes to this operation across all 1 revision of this API.