dhcp

Updates the current DHCP server configuration

post/dhcp/set_config

Request

  • Base URL
    /control (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP basic

Request body

enabledboolean
interface_namestring

Example request

{
  "v6": {
    "range_start": "range_start",
    "lease_duration": 6
  },
  "interface_name": "interface_name",
  "enabled": true,
  "v4": {
    "range_end": "192.168.10.50",
    "subnet_mask": "255.255.255.0",
    "range_start": "192.168.1.2",
    "lease_duration": 0,
    "gateway_ip": "192.168.1.1"
  }
}

Response

OK.

Changes

No recorded changes to this operation across all 2 revisions of this API.