Skip to main content
Version: v0

updateBucket()

Updates a new Storage bucket

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

Notes

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

Examples

Update bucket

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