disable_interface
Disable a MikroTik network interface by name; preview first with confirm=False, then set confirm=True to apply. Fails if the interface does not exist.
Instructions
Disable a network interface by name (sets disabled=yes).
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 apply it. Errors clearly if
interface_name does not exist on the device - it is never created.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| device_name | Yes | ||
| interface_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||