How to use an API call to "Revert" Application and Threats Content dynamic updates to the previously installed version

How to use an API call to "Revert" Application and Threats Content dynamic updates to the previously installed version

2538
Created On 07/12/22 07:40 AM - Last Modified 03/11/25 22:35 PM


Objective


Revert to the previously installed Application and Threats content update using an API call to the Firewall.



Environment


  • PAN-OS
  • Applications and Threats Content
  • Dynamic update
  • API call


Procedure


  1. As a pre-requisite to using API, API access has to be enabled on the Firewall.
  2. An API key also needs to be generated which can be used to make API calls to the Firewall.
  3. Refer to the API documentation for enabling API access and generating an API key.
  4. Once you have obtained the API key for making API calls to the Firewall, the following API call can be used to revert to the previously installed content update.
    https://<firewall_IP>/api/?type=op&cmd=<request><content><downgrade><install>previous</install></downgrade></content></request>&key=<apikey>
    
    • Replace the with the IP address of the Firewall.
    • Replace with the API key generated for making the API calls.


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u000000wkvxCAA&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language