> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.itential.com/itential-platform/6/inventory-manager/manage-inventories/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.itential.com/_mcp/server. # Manage inventories > Maintain inventories after initial creation, including clearing and removing 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 ```http DELETE /inventory_manager/v1/nodes/clear/:identifier ``` **Example request:** ```http DELETE /inventory_manager/v1/nodes/clear/prod-routers ``` **Example response:** ```json { "status": "Success", "result": { "nodesDeleted": 150 } } ``` ## Delete an inventory Delete an inventory after removing all its nodes: #### Clear the inventory Remove all nodes from the inventory. #### Delete the inventory Delete the inventory once it is empty. ### Using workflows Use the `deleteInventory` task in Studio. ### Using API ```http DELETE /inventory_manager/v1/inventories/:identifier ``` **Example request:** ```http DELETE /inventory_manager/v1/inventories/prod-routers ``` **Example response:** ```json { "status": "Success", "result": { "deletedCount": 1 } } ``` > Maintain inventories after initial creation, including clearing and removing inventories.