API
Remove existing SSID profile, if any, by giving the SSID and Authentication method. Wi-Fi will also disconnect if it is using this SSID.
Available in 7.1.1 or later
Input Parameters
Type | Notation | Mandatory | Description | |
connId | Number | <int> | required | Wi-Fi with the WAN connection ID to be used. |
ssid | String | <string> | required | SSID to be forgotten |
securityPolicy | String | { open, wep, wpa-eap, wpa- psk, 8021x } | required | Security Policy of the SSID |
cURL Example
curl -b cookies.txt -H "Content-Type: application/json" -X POST -d '{"connId":1,"ssid":"Main SSID","securityPolicy":"wpa-psk"}' http://192.168.1.1/api/cmd.wifi.forget
{ "stat": "ok" }