curl --request DELETE \
--url https://api.orq.ai/v2/knowledge/{knowledge_id}/datasources/{datasource_id}/chunks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"chunk_ids": [
"<string>"
]
}
'{
"deleted_count": 123,
"failed_ids": [
"<string>"
]
}curl --request DELETE \
--url https://api.orq.ai/v2/knowledge/{knowledge_id}/datasources/{datasource_id}/chunks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"chunk_ids": [
"<string>"
]
}
'{
"deleted_count": 123,
"failed_ids": [
"<string>"
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The unique identifier of the knowledge base
The unique identifier of the datasource.
Array of chunk IDs to delete
1 - 100 elementsWas this page helpful?