Delete documents from a knowledge base based on filters
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The id of the knowledge base to delete or delete documents from
Filters to apply for deletion. If no filters are provided, the entire knowledge base will be deleted.
[
{
"field": "category",
"operation": "=",
"value": "outdated"
},
{
"field": "version",
"operation": "<",
"value": 2
}
]The number of documents deleted is returned
The number of documents deleted
5