Select an Admin Role profile.
- Go to Device -> Admin Roles and select or create an admin role.
Select features available to the admin role.
- Select the XML API tab.
- Enable or disable XML API features from the list, such as Report, Log, and Configuration.
- Select OK to confirm your change.
Assign the admin role to an administrator account.
Consult the official product documentation for more details.
POSTrequest to the firewall’s hostname or IP address using the administrative credentials and the
type=keygenURL query argument.
Be sure to replace
<password>with actual values.
A successful API call returns
status="success" along with the API key within the
The PAN-OS® REST API URL format includes a base path and endpoint:
Available resource endpoints: