If you use PHP play in online HOTSPOT users

If you use PHP play in online HOTSPOT users
Everybody is good,
I want you to do me a favor
I want to through the PHP to an online HOTSPOT users play off the assembly line,
For example, I put the user name for ABCDE users to kick off the assembly line
I’m in the terminal command is
IP hotspot active remove [find user=abcde]
PHP wrote,

$API->comm(“/ip/hotspot/active/remove”, array(
“.id” => “abcde”,)
);
$API->disconnect();



But no, can help me fix it, thank you

.id is not the username it the id of the session. first get the data with /ip/hotspot/active/print , array(“user”=>“abcd”) … that should give you an array of all sessions ( again arrays ) the user currently has. most probably only one. and there you have a the .id field for the session.