v2
latestOpenAPI 3.0.02026-08-0688139156.5 KBDevices
Update device network configuration
Update the network configuration for a device. The configuration is tested after it is applied, and rolled back if invalid.
patch/v1/device/{device_id}/network
Path parameters
device_idstring required
ID of a device
Example:d_0123456789ab
Request body
Example request
{
"dns_server_primary": "1.1.1.1",
"dns_server_secondary": "8.8.8.8",
"network_address": "192.168.1.100/24",
"network_gateway": "192.168.1.1",
"network_mode": "static"
}Response
OK
Example response
{
"dns_server_primary": "1.1.1.1",
"dns_server_secondary": "8.8.8.8",
"network_address": "192.168.1.100/24",
"network_gateway": "192.168.1.1",
"network_mode": "static"
}