Skip to main content
DELETE
/
knowledge-base
/
{id}
/
documents
Delete documents from a knowledge base
curl --request DELETE \
  --url https://api.vectorshift.ai/v1/knowledge-base/{id}/documents \
  --header 'Authorization: Bearer <token>'
{
  "status": "success"
}

Documentation Index

Fetch the complete documentation index at: https://docs.vectorshift.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer token authentication using API key

Path Parameters

id
string
required

Knowledge base ID

Query Parameters

document_ids
string
required

Comma-separated list of document IDs to delete

Response

Documents deleted successfully

status
enum<string>
Available options:
success,
failed