set_wireless_passphrase
Update the WiFi passphrase on RouterOS v7 wireless interfaces, with optional WPA2/WPA3 authentication types.
Instructions
Sets the WiFi passphrase directly on a RouterOS v7 wireless interface (/interface wifi or wifiwave2).
Notes: authentication_types: comma-separated RouterOS auth types, e.g. "wpa2-psk,wpa3-psk"; unset keeps the current setting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| device | No | ||
| passphrase | Yes | ||
| authentication_types | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |