Delete multiple articles

Apply filters and use the DELETE method to delete multiple articles from your knowledge hub.

You can use any of the following fields to filter articles:

  • id: a unique identifier for the article
  • enabled: whether the article should be referenced during response generation; defaults to true
  • knowledge_source_id: the id of the knowledge source the article belongs to
  • language: the ISO 639-1 language code of the article; defaults to en
  • tag_ids: unique ids that correspond to tags you can assign to each article

Here are some examples of the filtering syntax. Note that you need to use =in: to filter by all of the above attributes, except for enabled.

  • DELETE /knowledge/v1/articles?id=in:article_1_en,article_2_en
  • DELETE /knowledge/v1/articles?language=in:en&knowledge_source_id=in:66329ece89fba2e5f9d2181e,663532cbcb532f250ea586e9&tag_ids=in:my_tag

🚧

This endpoint can delete any article in your knowledge hub, so be careful about the filters you apply. While you can re-import articles using Ada's built-in Zendesk or Salesforce integrations, or its web scraper, you can't recover articles that were created in Ada.

Language
Credentials
Bearer
URL
Click Try It! to start a request and see the response here!