Empty a bucket
Removes all objects inside a single bucket.
- Policy permissions required:
buckets
permissions:select
objects
permissions:select
anddelete
final String result = await supabase
.storage
.emptyBucket('avatars');
Removes all objects inside a single bucket.
buckets
permissions: select
objects
permissions: select
and delete
final String result = await supabase
.storage
.emptyBucket('avatars');