Home

Update a bucket

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

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