Is there a way to delete several documents at once, or we just have to loop and delete them one by one?
TL;DR
Yes, there is a way to delete multiple documents at once instead of deleting them one by one. Instead of looping through the documents, you can use the bulk delete feature provided by the platform. This feature allows you to select multiple documents and delete them simultaneously.