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
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| vdom | No | root | |
| device | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||