Remove Inactive Host From Mikrotik Hotspot

/ip hotspot host remove [find authorized=no dynamic=yes]

/ip hotspot host remove [find authorized=no DHCP=yes]

/ip hotspot host remove [find idle-time>1d]

/ip hotspot host
:foreach x in=[ find where (authorized =no or authorized ="") and bypassed =no ] do={remove $x}