You can configure a lifecycle rule for a bucket or a set of objects to:
Lifecycle rules do not transition Cold objects to other storage classes.
A lifecycle rule can transition the storage class of WORM-protected object versions within the retention period, but cannot delete such object versions.
Figure 1 Creating a lifecycle rule

Basic Information:
Select Enable to enable the lifecycle rule.
It identifies a lifecycle rule. A rule name can contain a maximum of 255 characters.
Current Version or Historical Version:
For example, on January 7, 2015, you saved the following files in OBS:
On January 10, 2015, you set the objects prefixed with log to expire one day later. You might encounter the following situations:
On the day of operation, you can set the objects with the name prefix log to be transitioned to Warm 30 days later, transitioned to Cold 60 days later, and deleted 100 days later, then OBS will transition log/clientlog.log, log/serverlog.log, log/test1.log, and log/test2.log to Warm when their storage duration exceeds 30 days, transition them to Cold when their storage duration exceeds 60 days, and delete them when their storage duration exceeds 100 days, respectively.
In theory, it takes 24 hours at most to execute a lifecycle rule. After an object is updated, OBS calculates its lifecycle from the next 00:00 (UTC time), so there may be a delay of up to 48 hours in transitioning objects between storage classes or deleting expired objects. If you make changes to an existing lifecycle rule, the rule will take effect again.
You can click Edit, Delete, or Disable (or Enable) in the Operation column of a lifecycle rule to edit, delete, disable (or enable) the rule.
You can also select multiple lifecycle rules at a time and click Delete or Disable (or Enable) above the list to batch delete or disable (or enable) them.