Devices
Create device VLAN
Changed onCreate a new virtual interface (VLAN) for a device.
post/v1/device/{device_id}/vlan
Request
- Base URLhttps://api.slide.tech
- URLhttps://api.slide.tech/v1/device/{device_id}/vlan
- AuthHTTP bearer
Path parameters
device_idstring required
ID of a device
Example:d_0123456789ab
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
Created
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
}Changes
- info
added the non-success response with the status
- info