delete_dns_zone
Remove a local DNS zone and all associated records from your FortiGate firewall via the REST API, clearing stale zones by name.
Instructions
Delete a local DNS zone and all its records.
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": {
"name": "<name>"
},
"name": "delete_dns_zone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Zone object name | |
| vdom | No | VDOM (default: FORTIGATE_VDOM, usually root) |