delete_address_object
Deletes a FortiGate address object by device ID and name, optionally in a VDOM, and reports status; FortiOS blocks removal while a policy or group references it.
Instructions
Delete an address object. FortiOS refuses while a policy or group still references it.
Parameters:
device_id: Identifier of the FortiGate device
name: Address object name
vdom: Virtual Domain name (optional)
Returns:
Deletion status
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>",
"name": "<name>"
},
"name": "delete_address_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Address object name | |
| vdom | No | Virtual Domain | |
| device_id | Yes | FortiGate device identifier |