Community discussions

MikroTik App
 
3abkrino
just joined
Topic Author
Posts: 2
Joined: Wed Aug 24, 2016 7:07 pm

c# api command to update the hotspot user pless

Wed Aug 24, 2016 7:16 pm

hi,
What is the c# api command to update the hotspot user?
 
User avatar
Deantwo
Member
Member
Posts: 332
Joined: Tue Sep 30, 2014 4:07 pm

Re: c# api command to update the hotspot user pless

Mon Sep 05, 2016 1:07 pm

Which C# API?
Update a hotspot user in what way? What is it you want to change?

The API commands you'll likely need is something like this:
"/ip/hotspot/set"
"=.id=" + userId
"=password=" + newPassword
"=email=" + newEmail
".tag=deantwowashere"
The ".id" is used to specify what user you want to change, I am unsure if you are able to use the name of the user or if it has to be the ID.

But without more information it is hard to help you more. Since a more specific answer depends on the library you are using.