delete_firewall_policy
Permanently deletes a firewall policy from a FortiGate device using device ID and policy ID. Optionally specify a VDOM to target the rule in that virtual domain.
Instructions
Delete a firewall policy from a FortiGate device.
This tool removes an existing firewall policy from the device configuration, permanently deleting the specified security rule.
Parameters:
device_id: Identifier of the FortiGate device
policy_id: ID of the policy to delete
vdom: Virtual Domain name (optional, uses device default)
Returns:
Deletion status confirmation
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"device_id": "<device_id>",
"policy_id": "<policy_id>"
},
"name": "delete_firewall_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | Virtual Domain | |
| device_id | Yes | FortiGate device identifier | |
| policy_id | Yes | Policy ID to delete |