For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Open sourceSupportFAQsDocs Home
DocumentationAPI referenceRelease notes
DocumentationAPI referenceRelease notes
  • Introduction
    • Overview
    • Authentication
  • Guides
    • Operations Manager search APIs
    • Search API
    • URL query parameters
    • Use query parameters in API requests
  • Reference
        • POSTBuild inventory filter structure
        • POSTBulk load inventory nodes
        • DELClear all nodes from an inventory
        • POSTCreate a new inventory
        • POSTCreate a new inventory action
        • DELDelete an inventory
        • DELDelete an inventory action
        • POSTExpand node identifiers to full documents
        • POSTFind inventories and nodes by tags
        • GETGet inventory action by identifier
        • GETGet inventory by identifier
        • GETGet inventory manager overview statistics
        • GETGet node by identifier
        • GETGet tag by identifier
        • GETGet tags from accessible inventories
        • GETGet usage statistics for a tag
        • GETInventory manager health check
        • GETList all actions for a specific inventory
        • GETList all inventories with filtering and pagination
        • GETList all nodes for a specific inventory
        • GETList all nodes with filtering and pagination
        • GETList all tags for a specific inventory
        • GETList all tags with filtering and pagination
        • GETList inventory actions
LogoLogo
Open sourceSupportFAQsDocs Home
ReferenceInventory Manager

Clear all nodes from an inventory

DELETE
http://localhost:3000/inventory_manager/v1/nodes/clear/:identifier
DELETE
/inventory_manager/v1/nodes/clear/:identifier
$curl -X DELETE http://localhost:3000/inventory_manager/v1/nodes/clear/string \
> -u "<username>:<password>"
1{
2 "status": "Success",
3 "result": {
4 "inventory": {
5 "id": "string",
6 "name": "string"
7 },
8 "statistics": {
9 "nodesDeleted": 1.1
10 }
11 },
12 "message": "string"
13}
Removes all nodes from the specified inventory.
Was this page helpful?
Previous

Create a new inventory

Next
Built with

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:password)>.

Path parameters

identifierstringRequired
Inventory ID or name to clear nodes from

Response

Result of clearing operation with statistics
statusstring
resultobject
messagestring
Success message with operation summary

Errors

500
Internal Server Error