Delete Path

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

Parameters Used

Parameter NameData TypeDefinition
pathStringA 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 2026-11-03 13:18:52 +0530 IST