listBuckets()

Retrieves the details of all Storage buckets within an existing product.

1final List<Bucket> buckets = await supabase
2  .storage
3  .listBuckets();

Notes#

  • Policy permissions required:
    • buckets permissions: select
    • objects permissions: none

Examples#

List buckets#

1final List<Bucket> buckets = await supabase
2  .storage
3  .listBuckets();