Javascript Reference v1.0

Update a bucket

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

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