reillychase / UniFi-Python-API-Example-Delete-Sites

Repository from Github https://github.comreillychase/UniFi-Python-API-Example-Delete-SitesRepository from Github https://github.comreillychase/UniFi-Python-API-Example-Delete-Sites

UniFi-Python-API-Example-Delete-Sites

My https://hostifi.net auto UniFi provisioning script hit a bug and ended up creating 1,000+ sites for 1 user. I wrote this script real quick to go back and delete all sites containing that site description.

Could have retrieved the sites using the API, but instead I just grabbed them and dumped them manually from https://site:8443/api/self/sites and loaded them from a file.

About

License:GNU General Public License v2.0


Languages

Language:Python 100.0%