remove_vlan
Delete a VLAN interface by name from a MikroTik RouterOS device; preview first, then confirm to apply the removal.
Instructions
Remove a VLAN interface (/interface/vlan remove) by name.
WRITE tool, guarded: blocked entirely unless the server is running
with MIKROTIK_ALLOW_WRITE=true. Call with confirm=False (the
default) to get a before/after preview without changing anything;
call again with confirm=True to actually remove it. Errors clearly
if no VLAN interface matches name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| confirm | No | ||
| device_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||