Skip to Content
Docs

Deletes a specific chunk from the document

DELETE
/api/delete_chunk

Deletes a specific chunk from the document. 409 (code source_busy) while a sync or page change on the source runs.

Personal access token scope: sources:write.

Authorization

bearer
headerAuthorizationBearer <token>

A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).

Query Parameters

id?string

The document ID

chunk_id?string

The ID of the chunk to delete

Response Body

Success

Example Request
curl -X DELETE 'http://localhost:7091/api/delete_chunk'
Example Response200
Empty