---
title: "Delete multiple nodes"
method: POST
path: "/org/kb/nodes/bulk-delete"
tags: ["Knowledge Base"]
---

# Delete multiple nodes

`POST /org/kb/nodes/bulk-delete`

## Request

- Base URL: `https://apiv2.senso.ai/api/v1`
- URL: `https://apiv2.senso.ai/api/v1/org/kb/nodes/bulk-delete`
- Auth: API key in header `X-API-Key`

Deletes up to 100 nodes at once. Folders take their whole subtree with them. The batch is all-or-nothing — if any node is missing, not permitted, a root, or still ingesting, nothing is deleted. A `204` means every listed node is gone.

## Request body

- BulkDeleteKBNodesRequest
  - `node_ids` string[], required: The ids of the nodes to delete (1–100).

## Response `204`

Every listed node (and any subtree) was deleted. No content.

## Other responses

- `400`: The request body was invalid — either it failed field validation (`ValidationErrorResponse`) or was otherwise malformed (`ErrorResponse`).
- `401`: Missing or invalid credentials — supply a valid org API key in the `X-API-Key` header.
- `403`: The API key is authenticated but not permitted to access this resource.
- `404`: The requested resource does not exist or is not visible to this key.
- `409`: The request conflicts with the current state (e.g. a duplicate).

---

[API](https://skmtc.dev/senso/apis/senso-org-api.md) - [All operations](https://skmtc.dev/senso/apis/senso-org-api/llms.txt) - [OpenAPI document](https://skmtc.dev/senso/apis/senso-org-api/revisions/d789b4fcbe84?raw)
