Delete a bucket
Deletes an existing bucket. A bucket can't be deleted with existing objects inside it. You must first empty()
the bucket.
- Policy permissions required:
buckets
permissions:select
anddelete
objects
permissions: none
final String result = await supabase
.storage
.deleteBucket('avatars');