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
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Address object name | |
| vdom | No | Virtual Domain | |
| device_id | Yes | FortiGate device identifier |