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
- As a pre-requisite to using API, API access has to be enabled on the Firewall.
- An API key also needs to be generated which can be used to make API calls to the Firewall.
- Refer to the API documentation for enabling API access and generating an API key.
- 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.