Python: Create a bucket

Creates a new Storage bucket

Parameters

Examples

Create bucket

response = (
    supabase.storage
    .create_bucket(
        "avatars",
        options=\{
            "public": False,
            "allowed_mime_types": ["image/png"],
            "file_size_limit": 1024,
        \}
    )
)