Delete files in a bucket
- Policy permissions required:
buckets
permissions: noneobjects
permissions:delete
andselect
const { data, error } = await supabase
.storage
.from('avatars')
.remove(['folder/avatar1.png'])
buckets
permissions: noneobjects
permissions: delete
and select
const { data, error } = await supabase
.storage
.from('avatars')
.remove(['folder/avatar1.png'])