Home

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');
Need some help?

Not to worry, our specialist engineers are here to help. Submit a support ticket through the Dashboard.