Devices
Update device network configuration
Changed onUpdate 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
Request
- Base URLhttps://api.slide.tech
- URLhttps://api.slide.tech/v1/device/{device_id}/network
- AuthHTTP bearer
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"
}Changes
- info
added the non-success response with the status
- info