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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

L1 Bithead

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...

1 accepted solution

Accepted Solutions

@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

5 REPLIES 5

L7 Applicator

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.

Cyber Elite
Cyber Elite

@Lcroce,

Advantage to the API method that @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. 

@RemoIs there a page I can reference?

@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

Cool.  Thanks for the info.

  • 1 accepted solution
  • 2921 Views
  • 5 replies
  • 0 Likes
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!