Skip to main content
DELETE
Delete a document
This removes the source file, extracted content, and retrieval chunks.
Requires Admin or Owner. Successful deletion returns 200 with a success message. A missing document returns 404. Update agents that reference the document before deleting it.

Authorizations

Authorization
string
header
required

Bandwidth Labs OAuth access token. Uses the user's selected workspace; the workspace header is not required. Do not also send an API key. Bearer-only operations may additionally require the Labs super_user role.

Headers

X-VOAI-ORGANIZATION-ID
string | null

Required with X-BW-LABS-AGENTS-API-KEY: the positive local workspace ID to access. The key owner must be a current member. Missing or invalid IDs return 400; non-member workspaces return 403. Not required for bearer authentication, which uses the user's selected workspace.

Path Parameters

document_uuid
string
required

Response

Successful Response

message
string
required
success
boolean
required