Question

I deleted some articles. How can I retrieve information about these?

Answer

Deleted articles can't be recovered. You can, however, view the deletion events with information on the article ID and information about the user that deleted the article. This relies on an undocumented API, for which no support is provided. This is informational only.

In your browser, enter the following address with your details:

https://mydomain.zendesk.com/hc/api/v2/knowledge_events?start_time={unix_time}&types=article_removed 

The start_time is expressed in unix time and the desired date can be obtained from the unix timestamp website, for example.

Install a JSON parser on your browser for better formatting and readability. One that is broadly used is JSON Formatter.

A call to this endpoint looks like the following:

removed.png

aggregate_id refers to the article ID that is observed on the article URL and expressed with numbers, such as: 

https://mydomain.com/hc/{locale}/articles/1234567890-My-Test-Article

user_id refers to the user that performed the action.

For more information, see these articles:

  • Permanently deleting a knowledge base
  • API Introduction
  • API Reference
Powered by Zendesk