Dart Reference v2.0

Update a bucket

Updates a new Storage bucket

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

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