---
title: "Clear all nodes from an inventory"
method: DELETE
path: "/inventory_manager/v1/nodes/clear/{identifier}"
tags: ["Inventory Manager"]
---

# Clear all nodes from an inventory

`DELETE /inventory_manager/v1/nodes/clear/{identifier}`

## Request

- Base URL: `https://example.itential.io`
- URL: `https://example.itential.io/inventory_manager/v1/nodes/clear/{identifier}`
- Auth: none declared

Removes all nodes from the specified inventory.

## Path parameters

- `identifier` union, required: Inventory identifier - can be ObjectId or name
  - string
  - string

## Response `200`

Result of clearing operation with statistics

- InventoryManagerClearInventoryResponse200
  - `status` string
  - `result` InventoryManagerV1NodesClearIdentifierDeleteResponsesContentApplicationJsonSchemaResult
    - `inventory` InventoryManagerV1NodesClearIdentifierDeleteResponsesContentApplicationJsonSchemaResultInventory
      - `id` string: Inventory ObjectId
      - `name` string: Inventory name
    - `statistics` InventoryManagerV1NodesClearIdentifierDeleteResponsesContentApplicationJsonSchemaResultStatistics
      - `nodesDeleted` number, double: Number of nodes deleted
  - `message` string: Success message with operation summary

## Other responses

- `500`: Error response from API

## Changes

- **2026-10-31** `2095cc90e583`: 2 info
  - api tag `Inventory Manager` added
  - api tag `inventoryManager` removed

[Operation history](https://skmtc.dev/itential/apis/itential-2/changes/inventory_manager/v1/nodes/clear/:identifier/delete.md)

---

[API](https://skmtc.dev/itential/apis/itential-2.md) - [All operations](https://skmtc.dev/itential/apis/itential-2/llms.txt) - [OpenAPI document](https://skmtc.dev/itential/apis/itential-2/revisions/2095cc90e583?raw)
