To use the PAN-OS® and Panorama™ REST API, first use
your administrative credentials to get an API key. You can then
use the API key to make API requests.
The PAN-OS REST API covers a subset of the firewall and Panorama
functions, and you’ll need to use the XML API to complete the configuration
and commit your changes.
The API requests in this guide use
cURL commands. However, you
can make API requests with other tools such as
Postman or a
RESTClient.
By default, PAN-OS uses a self-signed certificate, so you will need
to use the -k parameter with cURL requests. Alternatively, you can
replace the self-signed certificate with
one from a trusted certificate authority. If you have an internal
certificate authority, generate your own certificate and install
it on the firewall.