WARNING:
This code permanently deletes the specified asset folder and all its contents. Please double‑check the asset path before running.
-
Authentication and Initialization:
The script begins by callingee.Authenticate()
(only when needed) andee.Initialize()
. -
delete_folder_contents Function:
- Uses
ee.data.listAssets({'parent': folder})
to list all children assets.