Skip to main content
DELETE
/
datasets
/
{dataset_id}
/
documents
/
{document_id}
/
segments
/
{segment_id}
Delete Chunk
curl --request DELETE \
  --url https://{api_base_url}/datasets/{dataset_id}/documents/{document_id}/segments/{segment_id} \
  --header 'Authorization: Bearer <token>'

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

Knowledge base ID.

document_id
string<uuid>
required

Document ID.

segment_id
string<uuid>
required

Chunk ID.

Response

204

Success.