List all buckets
Retrieves the details of all Storage buckets within an existing project.
- RLS policy permissions required:
buckets
table permissions:select
objects
table permissions: none
- Refer to the Storage guide on how access control works
const { data, error } = await supabase
.storage
.listBuckets()