LANs
List Site LANs
GET/accounts/{account_id}/magic/sites/{site_id}/lans
Site LAN Details
GET/accounts/{account_id}/magic/sites/{site_id}/lans/{lan_id}
Create a new Site LAN
POST/accounts/{account_id}/magic/sites/{site_id}/lans
Update Site LAN
PUT/accounts/{account_id}/magic/sites/{site_id}/lans/{lan_id}
Patch Site LAN
PATCH/accounts/{account_id}/magic/sites/{site_id}/lans/{lan_id}
Delete Site LAN
DELETE/accounts/{account_id}/magic/sites/{site_id}/lans/{lan_id}
ModelsExpand Collapse
DHCPServer object { dhcp_options, dhcp_pool_end, dhcp_pool_start, 3 more }
DHCPServer object { dhcp_options, dhcp_pool_end, dhcp_pool_start, 3 more }
dhcp_options: optional array of object { code, type, value } Optional list of custom DHCP options to include in DHCP responses. Only valid when DHCP server is enabled.
dhcp_options: optional array of object { code, type, value }
Optional list of custom DHCP options to include in DHCP responses. Only valid when DHCP server is enabled.
code: number
DHCP option number (1-254). Options 0 and 255 are reserved by RFC 2132. Options 3, 6, and 51 are not allowed because they conflict with connector-managed configuration.
maximum254
minimum1
type: "text" or "hex" or "ip" or 3 moreThe type of the option value. text: a string (max 255 bytes). hex: colon-separated hex bytes (e.g. “01:04:aa:bb:cc”, max 255 bytes). ip: an IPv4 address (e.g. “10.20.30.40”). byte: an unsigned integer 0-255 (1 byte). short: an unsigned integer 0-65535 (2 bytes). integer: an unsigned integer 0-4294967295 (4 bytes).
type: "text" or "hex" or "ip" or 3 more
The type of the option value. text: a string (max 255 bytes). hex: colon-separated hex bytes (e.g. “01:04:aa:bb:cc”, max 255 bytes). ip: an IPv4 address (e.g. “10.20.30.40”). byte: an unsigned integer 0-255 (1 byte). short: an unsigned integer 0-65535 (2 bytes). integer: an unsigned integer 0-4294967295 (4 bytes).
LAN object { id, bond_id, ha_link, 9 more }
LAN object { id, bond_id, ha_link, 9 more }
ha_link: optional boolean
mark true to use this LAN for HA probing. only works for site with HA turned on. only one LAN can be set as the ha_link.