Page 1 of 1

Delete user hostpot and create user hotspot profile

Posted: Mon Feb 11, 2019 5:13 am
by hiad
Hello All,

I have two questions using Mikrotik API:
1. I'm trying to delete Mikrotik users, can someone tell me why it's not working?:

channel1
.write("/ip/hotspot/user/remove", { ".id": '"*37"' })
.then(data => {
console.log("Done", JSON.stringify(data));
})
.catch(error => {
console.log("Error result ", error);
});


2. The second question is : Using the API is posible to create user hotspot profiles?