Issue with disabling Global Protect client using API

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

Issue with disabling Global Protect client using API

L1 Bithead

When entering a valid request number and selecting the correct portal. API is returning

object(stdClass)#4 (2) {

["@attributes"]=> object(stdClass)#3 (1) {

["status"]=>

string(5) "error"

} ["msg"]=>

object(stdClass)#5 (1) {

["line"]=> string(32) "Command succeeded with no output"

}

}```

URL: https://panorama.gg.net/api/?type=op&cmd=<request><global-protect-portal><ticket><duration>30</duration><portal>gp1.gg.org</portal><request>E53F-E44E</request></ticket></global-protect-portal></request>&key=APIKEY

3 REPLIES 3

L2 Linker

Having the same issue and have a case open.  So far no resolution.

L0 Member

https://panorama.foo.bar/api/?type=op&cmd=<request><global-protect-portal><ticket><duration>1439</duration><portal>GlobalProtect_Portal</portal><request>1234-ABCD</request><tpl>Mobile_User_Template</tpl></ticket></global-protect-portal></request>"

 

You need to add the tpl element to the API request. That's at least how I fixed it.

 

Cheers

Christoph

This, I found out the hard way and saw that adding <tpl>Mobile_User_Template</tpl> in the API reference. We had been using a legacy Panorama from the start on PanOS 9.x so only needed to do this from 10.x I'd assume.

  • 2066 Views
  • 3 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!