- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
05-13-2025 01:46 AM
I have enquiries regarding the API on PA firewall.
I would like to know whether I can enable User-ID in zone, adding server in Server Monitoring and adding Syslog Parse Profile via API or not?
Are those actions supporting configuration via API?
05-13-2025 06:20 AM
This is all possible through the XML API. The structure follows the same sequence as it would if you're working directly with the CLI and you can use the API browser (https://<myfirewall>/api ) to figure out exactly what command you need to send and validate that you're doing things properly. I'm unsure if these specific actions are supported by the newer REST API; personally due to the REST interface not having feature parity with the XML API or complete access to PAN-OS for even relatively basic functions (like a commit) I generally just ignore the REST API is a thing that exists.
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!