listBuckets()
Retrieves the details of all Storage buckets within an existing project.
const { data, error } = await supabase
.storage
.listBuckets()
Notes
- Policy permissions required:
buckets
permissions:select
objects
permissions: none
Examples
List buckets
const { data, error } = await supabase
.storage
.listBuckets()