Skip to main content

DhcpServer Schema

Data structure for Dhcp Server objects.

Fields​

FieldTypeRequiredDescriptionNotes
failover_peerstringYes-API field: failover_peer
fixed_hostsFixedHostCollectionYes-API field: fixed_hosts
globalsGlobalsYes--
optionsOptionsYes--
rangeRangeCollectionYes--

Example​

{
"failover_peer": "string",
"fixed_hosts": [
{
"fixed_address": "string",
"host": "string",
"mac_address": "string"
}
],
"globals": {
"default_lease_time": "string",
"max_lease_time": "string"
},
"options": {
"custom_options": [
{
"code": "string",
"name": "string",
"type": "string"
}
],
"domain_name": "string",
"domain_name_servers": "string"
},
"range": [
{
"end": "string",
"start": "string"
}
]
}