JavaScript: Update a bucket

Examples

Update bucket

const { data, error } = await supabase
  .storage
  .updateBucket('avatars', { public: false })