Technical Tip: How to delete a unused SSID on FortiGate
| Description | This article describes how to remove an SSID (VAP interface) that cannot be deleted from the GUI or CLI because the system reports that the VAP interface can only be removed from the VAP interface table, and the command fails with error code ret=-160. |
| Scope | FortiGate, FortiWifi, FortiAP. |
| Solution | 1. Remove all references to the SSID from the GUI.
Recommendation: Use the config-file method only when the normal GUI reference-cleanup process does not allow the SSID to be deleted. Always keep a backup of the original configuration in case a rollback is required.
Another option is to remove the SSID via CLI when it is not possible to remove it from the GUI:
config wireless-controller vap
Related article: |

