Update-bucket command¶
Updates the bucketType of an existing bucket. Prints the ID of the bucket updated.
Optionally stores bucket info, CORS rules and lifecycle rules with the bucket. These can be given as JSON on the command line.
Requires capability: writeBuckets
b2 update-bucket [-h] [--bucketInfo BUCKETINFO] [--corsRules CORSRULES]
[--lifecycleRules LIFECYCLERULES]
bucketName bucketType
Positional Arguments¶
- bucketName
- bucketType
Named Arguments¶
- --bucketInfo
- --corsRules
- --lifecycleRules