Hi,
I have the script below
:global var
:foreach i in=[/ip hotspot user find name=$var] do={
:local usuariosLiberados [/ip hotspot user get $i name]
/ip hotspot active remove [/ip hotspot active find user=$usuariosLiberados]
}
I call the script with the command terminal below
:global var; :set var user name; /system script run remativo
How I wirte “:global var; :set var user name; /system script run remativo” in the API PHP?
thank you.