Dart Reference v0.0

Retrieve a bucket

Retrieves the details of an existing Storage bucket.

Retrieves the details of an existing Storage bucket.

  • Policy permissions required:
    • buckets permissions: select
    • objects permissions: none
Parameters
  • id
    REQUIRED
    string

    The unique identifier of the bucket you would like to retrieve.


final Bucket bucket = await supabase
  .storage
  .getBucket('avatars');

No cookies. 🍪

We only collect analytics essential to ensuring smooth operation of our services.

Learn more