ReadonlyaccountAccount that owns the bucket.
ReadonlybucketID of the bucket to update.
Optional ReadonlybucketUpdated user-defined key-value metadata. Replaces all existing metadata.
Optional ReadonlybucketNew access level for the bucket.
Optional ReadonlycorsUpdated CORS rules. Replaces all existing rules.
Optional ReadonlydefaultUpdated default Object Lock retention policy.
Optional ReadonlydefaultUpdated default server-side encryption setting.
Optional ReadonlyfileWhether to enable Object Lock. Can only transition from disabled to enabled.
Optional ReadonlyifOptimistic locking: only update if the bucket's current revision matches this value.
Optional ReadonlylifecycleUpdated lifecycle rules. Replaces all existing rules.
Optional ReadonlyreplicationUpdated replication configuration.
Request parameters for the
b2_update_bucketAPI call.