Hotspot hosts V6

Hello

I was using this script on rb1100ah,ros V 4,17.

/ip hotspot host remove [find !authorized ]

now want to use it on CCR1036-12G-4S ros V6.0rc6 and got this

can someone help pls?

I’m not sure your provided command worked at v5 either.

Correct command to remove unauthorized users,

ip hotspot host remove [find authorized=no ]

Thanks alot this works fine.

Using old 4.17version because of old user manager that I need