Permanently delete file from google drive
Apps Script has the ability to access Google API’s, but you need to explicitly enable them before they can be used. The Drive API, can be used to delete a file. Drive API – Delete The Drive API method is Remove method instead of Delete. To enable the Drive API, open the Resources menu, then … Read more