You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use this flag on my system to create a bucket in which only the last version of the files are kept, but I have found no way to pass the correct set of parameters that can be accepted or documentation with examples. Here is what I'm trying:
$ b2 create-bucket --lifecycleRules '{"daysFromHidingToDeleting": 1, "daysFromUploadingToHiding": null, "fileNamePrefix": ""}' my-very-own-test-bucket allPrivate
ERROR: Bad request: array should start with bracket but found: {
I'm trying to use this flag on my system to create a bucket in which only the last version of the files are kept, but I have found no way to pass the correct set of parameters that can be accepted or documentation with examples. Here is what I'm trying:
$ b2 create-bucket --lifecycleRules '{"daysFromHidingToDeleting": 1, "daysFromUploadingToHiding": null, "fileNamePrefix": ""}' my-very-own-test-bucket allPrivate ERROR: Bad request: array should start with bracket but found: {
I'm confused as it is stated here it should be a dictionary: https://www.backblaze.com/b2/docs/lifecycle_rules.html
Could somebody show a working example of this flag?
The text was updated successfully, but these errors were encountered: