---
title: "Delete KB notes from a source"
method: DELETE
path: "/api/v4/workspaces/{workspace}/notes"
tags: ["Knowledge Base"]
---

# Delete KB notes from a source

`DELETE /api/v4/workspaces/{workspace}/notes`

Batch-delete notes from one source by sourceIds. dryRun=true previews without deleting. Requires workspace admin.

## Path parameters

- `workspace` string, required

## Request body

- NoteDeleteRequestV4 — Batch-delete notes from one source by sourceId.
  - `sourceKind` string
  - `source` string, required
  - `sourceIds` string[], required
  - `dryRun` boolean

## Response `200`

Delete results

- NoteDeleteResponseV4
  - `applied` boolean
  - `results` NoteDeleteResultV4[]
    - `sourceId` string
    - `status` string — deleted | not_found

---

[API](https://skmtc.dev/runwhen/apis/runwhen-platform-api.md) · [All operations](https://skmtc.dev/runwhen/apis/runwhen-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/runwhen/runwhen-platform-api/revisions/9d1a64d4b1c1/schema)
