Empty a bucket
- Policy permissions required:
buckets
permissions:select
objects
permissions:select
anddelete
const { data, error } = await supabase
.storage
.emptyBucket('avatars')
buckets
permissions: select
objects
permissions: select
and delete
const { data, error } = await supabase
.storage
.emptyBucket('avatars')