Please wich one is Funtion API-PHP write() Please tested

HI

I saw the funtion write() of PHP API in wiki.mikrotik …but I would like to know if it is ok. so please could some one send to me where I can find funtion to use in PHP API and confirm that the funtion are good.


Best Regards
PD How i Know the .id if the item that i want to change, for example disable or enable a filter rule.

use /…/print command

Tks for your replay. My english is bad.
Please could you send me a small example that to do after the print command command OR better if you can show me how remove and user in hotspot (we loging by MAC so the name is a MAC)

I have in my PHP-API program

$API->write(‘/ip/hotspot/user/print’);
Afther that I dont know how "remove the mac for exmaple 00:00:00:00:00 "


Please

Best Regards

after issuing ‘/ip/hotspot/user/print’ you should receive all hotspot users with their ids. then issue

/ip/hotspot/user/remove
=.id=your_id_here

where your_id_here is .id, received from /print command