: Deactivate a VM-Series Firewall Using the API
Focus
Focus

Deactivate a VM-Series Firewall Using the API

Table of Contents

Deactivate a VM-Series Firewall Using the API

The use the following API to deactivate a VM-Series firewall using the licensing API.
Header Parameters: token
Query Parameters: auth_code, serial_numbers
Request Method: DELETE
URL: https://api.paloaltonetworks.com/tms/v1/firewall/deactivate
Use the following API to delete one or more firewall resources associated with a specified auth code. To delete multiple firewall resources, insert each serial number separated by commas.
Sample API request:
curl --location --request DELETE 'https://api.paloaltonetworks.com/tms/v1/firewall/deactivate?auth_code=<authcode>&serial_numbers=<serialnumber>,<serialnumber>'\ --header 'token: <your-token>' \
Sample API response:
{ "success": ["00799##########","00799##########" ], "failed": [], "auth_code": "D#######", "failure_reason": [] }