Any way to de-auth a user outside of SSH?

Announcements

Changes to the LIVEcommunity experience are coming soon... Here's what you need to know.

Reply
Lcroce
L1 Bithead

Any way to de-auth a user outside of SSH?

I know that we can force a logout for a user from the captive portal on the CLI as shown in the link below but is there a way to access this functionality through the web management portal?

 

https://live.paloaltonetworks.com/t5/Management-Articles/How-to-Force-Captive-Portal-Re-Authenticati...


Accepted Solutions
vsys_remo
Cyber Elite

@Lcroce

The required commands should be these here:

https://FIREWALL/api/?type=op&cmd=<clear><user-cache><ip></ip></user-cache></clear>&key=APIKEY

https://FIREWALL/api/?type=op&cmd=<clear><user-cache-mp><ip></ip></user-cache-mp></clear>&key=APIKEY

 

And here is an article to get started with the API: https://live.paloaltonetworks.com/t5/Community-Blog/The-Power-of-XML-API/ba-p/202789

View solution in original post


All Replies
vsys_remo
Cyber Elite

Hi @Lcroce

 

In the Web-UI this isn't possible. Another possibility is to do that with the API, so you could write a little script that you could run if you want to de-auth a user.

BPry
Cyber Elite

@Lcroce,

Advantage to the API method that @vsys_remo proposed is that you could give it to your technical support staff and all they would have to do is specify the username that needs to get de-auth'd. 

Lcroce
L1 Bithead

@vsys_remoIs there a page I can reference?

vsys_remo
Cyber Elite

@Lcroce

The required commands should be these here:

https://FIREWALL/api/?type=op&cmd=<clear><user-cache><ip></ip></user-cache></clear>&key=APIKEY

https://FIREWALL/api/?type=op&cmd=<clear><user-cache-mp><ip></ip></user-cache-mp></clear>&key=APIKEY

 

And here is an article to get started with the API: https://live.paloaltonetworks.com/t5/Community-Blog/The-Power-of-XML-API/ba-p/202789

View solution in original post

Lcroce
L1 Bithead

Cool.  Thanks for the info.

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!