Manage inventories
This topic explains how to maintain inventories after initial creation, including clearing and removing inventories.
Inventory Manager consumes data from your inventory systems — it is not the authoritative source for device data.
To avoid data drift, repopulate inventories from your source system.
Clear an inventory
Remove all nodes from an inventory without deleting the inventory itself.
This is useful when:
- Decommissioning devices and need to empty an inventory temporarily
- Testing inventory population workflows
- Preparing to repopulate from a different inventory system
Using workflows
Use the clearInventory task in Studio.
Using API
Example request:
Example response:
Delete an inventory
Delete an inventory after removing all its nodes:
Using workflows
Use the deleteInventory task in Studio.
Using API
Example request:
Example response: