Use any of the operational mode commands available on the command line interface with the following API request:
https://firewall/api/?type=op&cmd=xml-body
Use the API Browser to explore operational mode commands and a complete listing of all the options available for the xml-body and their corresponding operation.
Operational Command API Request
System restart. https://firewall/api/?type=op&cmd=<request><restart><system></system></restart></request>
System software version installation. https://firewall/api/?type=op&cmd=<request><system><software><install><version>version_number</version></install></software></system></request>
Multi-vsys mode. https://firewall/api/?type=op&cmd=<set><system><setting><multi-vsys></multi-vsys></setting></system></set>
User Activity Report scheduling. https://firewall/api/?type=op&cmd=<schedule><uar-report><user>username</user><title>titlename</title></uar-report></schedule>
Full configuration validation. https://firewall/api/?type=op&cmd=<validate><full></full></validate>
Partial configuration validation. https://firewall/api/?type=op&cmd=<validate><partial><device-and-network>excluded</device-and-network></partial></validate>
Configuration saving. https://firewall/api/?type=op&cmd=<save><config><to>filename</to></config></save>
Configuration loading. https://firewall/api/?type=op&cmd=<load><config><from>filename</from></config></load>
Some requests operational mode commands, including download, upgrade, and installation requests, are asynchronous, meaning they require more than one request to get final results. Learn more about Asynchronous and Synchronous Requests to the PAN-OS XML API.

Related Documentation