Delete Knowledge Document (Legacy)
ethora-sources-docs-deleteDelete an ingested document and its embeddings from an app's RAG sources by docId. Requires a document ID from ethora-sources-docs-list-v2; action is permanent and cannot be undone.
Instructions
Remove a previously ingested document from an app's RAG sources by docId (legacy user-auth route). Deletes the document record and its embeddings; not reversible.
Requires: a document id from ethora-sources-docs-list-v2.
Auth: user-auth mode, active session; the user must own the app. Errors: 401 not logged in; 403 not owner; 404 unknown docId. Related: get docId from ethora-sources-docs-list-v2; app-token/B2B uses ethora-sources-docs-delete-v2.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | No | 24-char hex appId the document belongs to. Optional — defaults to the app set via `ethora-app-select`. | |
| docId | Yes | Id of the ingested document to delete. Get it from `ethora-sources-docs-list-v2`. |