delete https://api.linode.com//networking/vlans//
This operation deletes a VLAN. You can't delete a VLAN if it's still attached to a Linode. There are a few ways to detach it:
- Update the active configuration profile to remove the VLAN interface, then reboot the Linode.
- Create a config profile without the VLAN interface, then reboot the Linode into the new configuration profile.
- Delete the Linode.
To run this operation, you need read_write
grants to Linodes that use the VLAN.
A successful request triggers a vlan_delete
event.
VLANs without any attached Linodes are periodically cleaned up by the system.
linode-cli vlans delete $regionId $label
<https://www.linode.com/docs/products/tools/cli/get-started/>
linodes:read_write
<https://techdocs.akamai.com/linode-api/reference/get-started#oauth>