Skip to main content
Version: v1-dev

listBuckets()

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

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

Notes

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

Examples

List buckets

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