For AI agents: the documentation index is at llms.txt. Guide pages have a markdown version at the same path with .md appended, before any query string or fragment.

Swift: Update a bucket

Examples

Update bucket

try await supabase.storage
  .updateBucket(
    "avatars",
    options: UpdateBucketOptions(
      isPublic: false,
      fileSizeLimit: .megabytes(1),
      allowedMimeTypes: ["image/png"]
    )
  )