Skip to main content
Version: v1-dev

updateBucket()

Updates a new Storage bucket

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

Notes

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

Examples

Update bucket

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