Skip to main content
DELETE
/
v1
/
document_versions
/
{version_id}
/
contents
Clear Document Version Contents Handler
curl --request DELETE \
  --url http://localhost:8000/v1/document_versions/{version_id}/contents
{
  "deleted": 123
}

Documentation Index

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

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

Headers

authorization
string | null

Path Parameters

version_id
string<uuid>
required

DocumentVersion ID

Cookies

ks_uat
string | null

Response

Successful Response

Response model for the clear version contents endpoint.

deleted
integer
required

Number of top-level children deleted