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