Retrieve a bucket
Retrieves the details of an existing Storage bucket.
- Policy permissions required:
buckets
permissions:select
objects
permissions: none
- Refer to the Storage guide on how access control works
Parameters
id
REQUIRED
StringThe unique identifier of the bucket you would like to retrieve.
final Bucket bucket = await supabase
.storage
.getBucket('avatars');