Skip to main content
Version: v0

createBucket()

Creates a new Storage bucket

final res = await supabase
.storage
.createBucket('avatars');

Notes

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

Examples

Create bucket

final res = await supabase
.storage
.createBucket('avatars');