Delete until date

Hi,

how can i delete all entries from an index, until an defined date. For example, delete all entries which are older then today - 30days. Is there an function inside of algolia? When not, how can i do this with php?

Cheers
Ralf

Hi there,
I think it can be two steps:

  1. search for entries to delete
    Search Index | Search | Method | API Reference | Algolia Documentation

  2. delete the entries
    Delete Objects | Indexing | Method | API Reference | Algolia Documentation

Let me know how it goes and if you have any question.