Delete Path

The following SDK method can be used to delete all the objects present in the specified path.

Parameters Used

Parameter Name Data Type Definition
path String A mandatory parameter. Will contain the complete path of where the file should be uploaded.
copy
bucketInstance.deletePath("myFolder/", 
	{
		println("Objects deleted successfully.")
	}, 
	{
                  println("Failed to delete the objects - $it")
	}
)

Last Updated 2025-08-28 12:01:44 +0530 IST