updateBucket()

Updates a new Storage bucket

1final res = await supabase
2  .storage
3  .updateBucket('avatars', const BucketOptions(public: false));

Notes#

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

Examples#

Update bucket#

1final res = await supabase
2  .storage
3  .updateBucket('avatars', const BucketOptions(public: false));