v2
latestOpenAPI 3.0.02026-08-0688139156.5 KBDevices
Update device VLAN
Update a virtual interface (VLAN) for a device.
patch/v1/device/{device_id}/vlan/{vlan_id}
Path parameters
device_idstring required
ID of a device
Example:d_0123456789ab
vlan_idstring required
The ID of the VLAN
Request body
Example request
{
"gateway": "192.168.100.1",
"ip_address": "192.168.100.1/24",
"name": "vlan100",
"network_mode": "static",
"vlan_tag": 100
}Response
OK
Example response
{
"gateway": "192.168.100.1",
"ip_address": "192.168.100.1/24",
"name": "vlan100",
"network_mode": "static",
"vlan_id": "vlan_012345",
"vlan_tag": 100
}