Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
rpelletier
New Contributor

REST API Deauth a particular user

I can list all of the authenticated users to my vdom using https://10.40.100.1/api/v2/monitor/user/firewall/?vdom=Students, and I can deauth all of them using 

https://10.40.100.1/api/v.../deauth/?vdom=Students

 

However, how do I deauth only one particular user? Is this possible via the API?

11 REPLIES 11
alagoutte
New Contributor III

rpelletier wrote:

Thank you, this is an amazing project. We use VDOMs, which the functions do not natuvely supprt yet, but I went ahead and added them mysqlf and was able to add an addresses. I am going to work on seeing if I can build a function to deauth using starting from this great project. Thanks. 

the (experimentall) support of VDOM is planned for next release :) -> [link]https://github.com/FortiPower/PowerFGT/pull/47[/link]

alagoutte
New Contributor III

rpelletier wrote:

Thank you, this is an amazing project. We use VDOMs, which the functions do not natuvely supprt yet, but I went ahead and added them mysqlf and was able to add an addresses. I am going to work on seeing if I can build a function to deauth using starting from this great project. Thanks. 

The vdom support is available with release 0.3.0 => https://www.powershellgal...ackages/PowerFGT/0.3.0

Labels
Top Kudoed Authors