I'm indexing pages from different sources to display on a website. I can fetch new articles from the help center using the API, but how do I delete them from my index if they are removed from Zendesk? I can't find an endpoint for this. Is there a way to do this?
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Unfortunately there isn't an endpoint that you can call to pull a list of deleted articles. You could however just loop through the index of the HC articles and compare with a new pull. Any that don't exist in the most recent pull you'd know had been deleted.
Hope this helps!