To use the API, generate the API key required for authenticating API calls. Request parameters should be URL encoded when used in HTTP requests.
Get Your API Key
To generate an API key, make a URL request to the firewall’s hostname or IP addresses using the administrative credentials and
curl -X GET 'https://firewall/api/?type=keygen&user=username&password=password'
A successful API call returns
along with the API key within the
(Optional) Revoke an API key.
You can choose to revoke and then change an API key associated with an administrator account by changing the password associated with the administrator account. Any API keys that were generated using the previous credentials would no longer be valid.
Generating an API key using the same administrator account credentials returns unique API keys every time, and all of the keys are valid.
Change the master password
on your firewall in order to generate a unique API key. If you have not changed the firewall master key from the default, all firewalls with the same username/password will return the same API key.