I'm trying to batch delete contents in ArcGIS Online. For example, when users export a feature service to File Geodatabase, there will be a geodatabase object in ArcGIS online before downloading to local folders. I wonder if I can write a script to delete all the file geodatabase objects. I know how to delete a single item using the API like item.delete(). But I don't know how to delete items in a bulk.
I appreciate your help!