Delete all documents from a particular document folder

Hi,

My requirement is to click on a link that re-directs me to a UI, but before that I want to delete all existing documents from a document folder. Is there any way by which I can delete all the documents from a document folder in a go. I know we have a!deleteDocument() smart service which would delete a particular doc. If there is no way to delete all docs in one go, please let me know how to get the doc Ids of all existing documents in a doc folder.

  Discussion posts and replies are publicly visible

Parents Reply Children