delete_device_ipsec_phase1_interface
Deletes an IPsec phase1-interface from a device's database. Remove any referencing phase2-interface first, since FortiManager blocks deletion while a phase2 still points to it.
Instructions
Delete an IPsec phase1-interface from a device's device DB.
Any phase2-interface still pointing at this phase1name should be deleted first (delete_device_ipsec_phase2_interface) -- FortiManager rejects deleting a phase1-interface a phase2-interface still references.
Args: device: Managed device name name: Phase1-interface (remote gateway) name to delete vdom: VDOM it lives in (default "root")
Returns: Deletion result
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": "<device>",
"name": "<name>"
},
"name": "delete_device_ipsec_phase1_interface"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| vdom | No | root | |
| device | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||