: Deactivate Licenses
Focus
Focus

Deactivate Licenses

Table of Contents

Deactivate Licenses

URL: https://api.paloaltonetworks.com/api/license/deactivate
Parameters: encryptedToken
To deactivate the license(s) on a firewall that does not have direct internet access, you must generate the license token file locally on the firewall and then use this token file in the API request. For details on generating the license token file, see Deactivate VM, or Deactivate License (Software NGFW Credits) and Deactivate a Feature License or Subscription Using the CLI.
Header: apikey
Request: https://api.paloaltonetworks.com/api/license/deactivate?encryptedtoken@<token>
Sample API request for license deactivation using Curl:
curl -i -H "apikey:$APIKEY" --data-urlencode encryptedtoken@dact_lic.05022016.100036.tok https://api.paloaltonetworks.com/api/license/deactivate
Sample API response:
[{"serialNumField":"007200006150","featureNameField":"","issueDateField":"", "successField":"Y","errorField":null,"isBundleField":null,"PropertyChanged":null}, {"serialNumField":"007200006150","featureNameField":"","issueDateField":"", "successField":"Y","errorField":null,"isBundleField":null,"PropertyChanged":null}, {"serialNumField":"007200006150","featureNameField":"","issueDateField":"", "successField":"Y","errorField":null,"isBundleField":null,"PropertyChanged":null}, {"serialNumField":"007200006150","featureNameField":"","issueDateField":"", "successField":"Y","errorField":null,"isBundleField":null,"PropertyChanged":null}, {"serialNumField":"007200006150","featureNameField":"","issueDateField":"", "successField":"Y","errorField":null,"isBundleField":null,"PropertyChanged":null}, {"serialNumField":"007200006150","featureNameField":"","issueDateField":"", "successField":"Y","errorField":null,"isBundleField":null, "PropertyChanged":null}]$