from.remove()
Deletes files within the same bucket
1final List<FileObject> objects = await supabase 2 .storage 3 .from('avatars') 4 .remove(['avatar1.png']);
Notes#
- Policy permissions required:
buckets
permissions: noneobjects
permissions:delete
andselect
Examples#
Delete file#
1final List<FileObject> objects = await supabase 2 .storage 3 .from('avatars') 4 .remove(['avatar1.png']);