Skip to main content
DELETE
/
v1
/
console
/
knowledge-base
/
documents
/
{document_id}
Delete Document
curl --request DELETE \
  --url http://localhost:8000/v1/console/knowledge-base/documents/{document_id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "chunk_count": 123,
    "collection": "<string>",
    "content_type": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "file_size": 123,
    "filename": "<string>",
    "id": "<string>",
    "status": "<string>",
    "error_message": "<string>"
  },
  "message": "<string>",
  "success": true
}

Authorizations

Authorization
string
header
required

Enter your JWT access token

Path Parameters

document_id
string
required

Response

Successful Response

data
KBDocumentResponse · object
message
string | null
success
boolean
default:true