set_wifi_ssid
Set a MikroTik wireless interface's SSID with a before/after preview by default, then apply it using confirm=True.
Instructions
Set a wireless interface's SSID.
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. Works against
either RouterOS generation - it looks for interface_name under the
ROS7 wifi package first, then the ROS6 wireless package - and errors
clearly if it isn't found under either; it is never created.
On ROS7, a wifi interface running the standard production layout (a
named configuration) has no ssid field of its own - the actual
write lands on the referenced /interface/wifi/configuration profile
instead, resolved automatically. The before/after preview always
reflects the real location the ssid is read from and written to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| new_ssid | Yes | ||
| device_name | Yes | ||
| interface_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||