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
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_id": "<device_id>",
"path": "<path>",
"key": "<key>"
},
"name": "delete_cmdb_object"
}
}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 |