Skip to main content
DELETE
/
datasets
/
{dataset_id}
/
documents
/
{document_id}
/
segments
/
{segment_id}

Authorizations

Authorization
string
header
required

API Key authentication. For all API requests, include your API Key in the Authorization HTTP Header, prefixed with 'Bearer '. Example: Authorization: Bearer {API_KEY}. Strongly recommend storing your API Key on the server-side, not shared or stored on the client-side, to avoid possible API-Key leakage that can lead to serious consequences.

Path Parameters

dataset_id
string<uuid>
required

The ID of the knowledge base.

document_id
string<uuid>
required

The ID of the document.

segment_id
string<uuid>
required

The ID of the segment to delete.

Response

204

Successfully deleted the segment.