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
- Sets the lifecycle rule action to transition objects to Infrequent Access storage after this number of days. Note you can provide only one of `--ia-transition-days` or `--ia-transition-date`.
- Sets the lifecycle rule action to transition objects to Infrequent Access storage after this date (YYYY-MM-DD). Note you can provide only one of `--ia-transition-days` or `--ia-transition-date`.
- The jurisdiction where the bucket exists, if a jurisdiction has been specified. Refer to [jurisdictional restrictions](/r2/reference/data-location/#jurisdictional-restrictions).
1076
+
1077
+
### `lifecycle remove`
1078
+
1079
+
Remove an [object lifecycle](/r2/buckets/object-lifecycles/) rule from an R2 bucket.
- The jurisdiction where the bucket exists, if a jurisdiction has been specified. Refer to [jurisdictional restrictions](/r2/reference/data-location/#jurisdictional-restrictions).
1091
+
1092
+
### `lifecycle list`
1093
+
1094
+
List [object lifecycle](/r2/buckets/object-lifecycles/) rules for an R2 bucket.
1095
+
1096
+
```txt
1097
+
wrangler r2 bucket lifecycle list <NAME> [OPTIONS]
- The jurisdiction where the bucket exists, if a jurisdiction has been specified. Refer to [jurisdictional restrictions](/r2/reference/data-location/#jurisdictional-restrictions).
1104
+
1105
+
### `lifecycle set`
1106
+
1107
+
Set the [object lifecycle](/r2/buckets/object-lifecycles/) policy for an R2 bucket from a JSON file.
- Path to the JSON file containing lifecycle policy (file must be in format of request body of [put object lifecycle API](/api/operations/r2-put-bucket-lifecycle-configuration)).
- The jurisdiction where the bucket exists, if a jurisdiction has been specified. Refer to [jurisdictional restrictions](/r2/reference/data-location/#jurisdictional-restrictions).
1119
+
1050
1120
### `sippy enable`
1051
1121
1052
1122
Enable [Sippy](/r2/data-migration/sippy/) incremental migration for a bucket.
0 commit comments