delete_virtual_ip
Remove a Virtual IP object from a FortiGate device configuration, and block deletion when the VIP is still used by policies.
Instructions
Delete a Virtual IP from a FortiGate device.
This tool removes an existing Virtual IP object from the device configuration. Note that Virtual IPs in use by policies cannot be deleted.
Parameters:
device_id: Identifier of the FortiGate device
name: Name of the Virtual IP to delete
vdom: Virtual Domain name (optional, uses device default)
Returns:
Deletion status confirmation
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Virtual IP name | |
| vdom | No | Virtual Domain | |
| device_id | Yes | FortiGate device identifier |