delete_cmdb_object
Delete a FortiOS CMDB configuration object by device, table path, and key, with optional VDOM; deletion fails while the object remains referenced elsewhere.
Instructions
Delete a configuration object from any table (DELETE /api/v2/cmdb/{path}/{key}).
FortiOS refuses while the object is still referenced elsewhere.
Parameters:
device_id: Identifier of the FortiGate device
path: cmdb table path
key: Object key
vdom: Virtual Domain name (optional)
Returns:
Deletion status
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Object key | |
| path | Yes | cmdb table path | |
| vdom | No | Virtual Domain | |
| device_id | Yes | FortiGate device identifier |