Automation/API Discussions
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Automation/API Discussions

Discussions

API to create Address Group

I am trying to create a new address group using API but I always end up getting

 

<response status="error" code="12">

<msg>
<line>
Invalid target object in set handler
</line>
</msg>

</response>

 

Can someone help me with the correct xpath to create a new shar

...

PA API, User not authorized

Hey,

Well just like the subject says I am having issues making a device state backup. Every time I try to backup my device via the api, I get a 403 error response saying "User not authorized to perform this operation". What is strange and has me puzzl

...

jmgarcia by L0 Member
  • 3068 Views
  • 1 replies
  • 0 Likes

OS Upgrade Script

Hiya!

 

Does anybody have a script that automates PAN OS Upgrade on firewall pairs? If so, can you share one with me? I need to be able to run a script that can upgrade 4 firewall pairs. We are using Panorama as well. 

Fr4nk4 by L2 Linker
  • 3377 Views
  • 1 replies
  • 0 Likes

Cannot add user to Security Rule by API

There is a good example how to add user by API

http://api-lab.paloaltonetworks.com/groups.html#example-add-user-to-group-mappings-groups

 

If I put the XML from the example to https://192.168.1.100/php/rest/browse.php/user-id


<uid-message>
<version>2.0</v

...

Снимок экрана 2019-09-30 в 19.07.18.png

Resolved! Rest calls from PowerShell failing

I have a script that I use that reads a copy of my palo's configuration that I manually export. I am looking to create a PowerShell script that can call the rest service instead of having to manually export the XML configuration file. I also want to

...

Top Solution Authors
Top Liked Authors