What type of users do you mean?
Sessions in user-manager or client VPN connections?
I need a script to remove all active users within the hotspot>active tabActive where?
/ip hotspot user remove
Do not write randomly bu115h1t .This should work;
/ip hotspot active remove [find]