A I Hub Knowledge Base

Delete document

DELETE
/datasets/{dataset_id}/documents/{document_id}

This API enables users to delete a specific document from a knowledge base. It ensures precise control over data management by removing unwanted or outdated files while keeping the rest of the knowledge base intact.

Authorization

bearerAuth
AuthorizationBearer <token>

JWT access token returned by Signing In (POST /auth/v1/tokens/).

In: header

Path Parameters

dataset_id*string

Knowledge ID

document_id*string

Document ID

Response Body

application/json

application/json

curl -X DELETE "https://example.com/datasets/string/documents/string"
"{\n  \"result\": \"success\"\n}"