Unifi clear old clients. I migrated from a USG Pro and have over 3500 clients in the known clients section. How to delete old clients from list Question (self. For some reason or other, I keep getting phantom clients in my UniFi Controller for my home network. We would like to show you a description here but the site won’t allow us. New comments cannot be posted and votes cannot be cast. UDM Pro Delete All Known Clients From Insights Hi I have a UDM Pro that I am trying to remove all known clients from the insights section. Many moons ago, UniFi published a script to purge the MongoDB database to alleviate the issue, but this has aged and since been removed Dec 10, 2025 · Browse downloads by product and explore popular and new Ubiquiti applications. I believe it has to do with some way in which I’m using Docker containers to run some services (including the Controller itself). Now I have nearly 1700 clients in my "all clients" list. Feb 28, 2020 · Purge Junk Unifi Clients. It makes it very hard for me to have an accurate representation of how many live connections I actually We would like to show you a description here but the site won’t allow us. Unifi-Controller-Client-Cleanup Cleanup Python script to remove inactive clients via REST API Found somewhere on the internet as gist and extended the script with a date filter. . I've been having problems over the past couple years with my UniFi Controller registering "phantom" clients. If you are the original author, please contact me and I will add you as author for your great work. 5G I had a weird bug running an EA a couple weeks ago that caused my client list to be absolutely filled with invalid clients. Looking at the docs it only shows how to delete them one by one, which obvisouly isnt going to happen. GitHub Gist: instantly share code, notes, and snippets. Oct 2, 2014 · Hey All, Quick question that I am hoping is a simple answer. Sooner or later this will cause issues! How do I "forget" known clients in one batch instead of clicking them one by one? Archived post. Purging Stale Clients from UniFi Network Controller in Bulk. This is a simple application I wrote which cleans up phantom clients in the UniFi Controller. By following these steps, you should be able to effectively clear previous devices from the switch port view in your UniFi system. Dec 3, 2025 · This will clear all configurations and devices, but be sure to back up your settings first [6]. In this guide, I'll walk you throught the process of removing clients from your UniFi Controller. We are using Unifi AP’s in our organization and I was looking to see if it is possible to have the controller automatically remove client entries after X amount of time? We currently have some that are 15+ days that I remove. Yes, unfortunately you have to go to the old settings, and then in the clients list you can see your configured clients and forget them in there. Ubiquiti) submitted 1 day ago by WholeIndividual0 UCG-Max | U7 Pro | U7 Pro Wall | USW-Flex-2. I originally wrote this project in PHP and later added a Go version as I was learning Go at the time. Let's make sure your network remains clean and organized! Before we dive in, please don't self-host your UniFi Controller if you take care of client networks. Aug 12, 2025 · In a bid to reduce my stale client list from hundreds, to merely none at all, filtered by only those connecting in the last 7 days, I ended up rolling the following script, which can be executed from the UniFi OS shell. If issues persist, consider reaching out to UniFi support for further assistance. mpc iep wqx hkw nup odo cnf kbk oow fez urr gaf cqi yhe iqz
Unifi clear old clients. I migrated from a USG Pro and have over 3500 cli...