EvilFreelancer / routeros-api-php

Mikrotik RouterOS API PHP client for your applications
https://mikrotik.com/software
MIT License
391 stars 145 forks source link

remove active hotspot user problem #118

Closed alfanariamustofa closed 2 months ago

alfanariamustofa commented 2 months ago

my hotspot user active in multiple device when i remove one by .id like this code:

$query = new Query('/ip/hotspot/active/remove');
$query->equal('.id', '*C0A80A08');
$result = $client->query($query)->read(false);

all device active for the same user was removed too

when check log showing this message USER (xxx.xxx.xxx.xxx): logged out: admin reset

EvilFreelancer commented 2 months ago

Hi! It sounds like an issue with RouterOS (not with API library), did you asked Miktorik's support or on forum, maybe on reddit?

alfanariamustofa commented 2 months ago

Hi! It sounds like an issue with RouterOS (not with API library), did you asked Miktorik's support or on forum, maybe on reddit?

i build with kotlin language for android app with NabilNoN/Mikrotik-Android library running well