Python: Update a bucket | Supabase Docs (original) (raw)

Updates a Storage bucket

Parameters

(Required)
A unique identifier for the bucket you are creating.

(Required)
undefined

Examples

Update bucket

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