Help command from API

hello. excuse my English.
how do I run this command because I have tried various ways and does not serve me.
Code:
ip hotspot active remove [/ip hotspot active find]


and tried and not working

Code:
ip/hotspot/active/remove
=[=
=ip=
=hotspot=
=active=
=find=
=]=


or can give me a help to disconnect all active users in hotspot


Report this post

Nested commands are not supported with the API.

You must instead execute a print command with all entries you want, get their IDs, and pass them to whatever other command (in this case remove).

The syntax for the first command would be simply

/ip/hotspot/active/print
=.proplist=.id

and for the second, the syntax would look like the following (replace #LIST# with a comma separated list of the IDs collected with the previous command):

/ip/hotspot/active/remove
=numbers=#LIST#