Deleting all documents inside an engine 8.2

I would like to delete all documents to app search before repopulate.

Is there a newer, better and simpler way than extracting a list of all ids and then looping to delete with 100 at the time?

references:

Hi Fredrick - are you trying to reset the documents in the engine? Why not delete the engine out of curiosity? Do you have crawls continuing to sync data into your App Search engine? How are you ingesting data into your engine?