Editing the Object Lifecycle Policy in Object Storage
Update the object lifecycle policy for an Object Storage bucket.
- On the Buckets list page, select the Object Storage bucket that you want to work with. If you need help finding the list page or the Object Storage bucket, see Listing Buckets.
- On the details page, select Lifecycle Policy Rules.
- From the Actions menu for the lifecycle policy rule you want, select Edit.
- Update the settings as needed. For descriptions of the settings, see Creating the Object Lifecycle Policy for descriptions of the settings.
- Select Save Changes.
Use the oci os object-lifecycle-policy put command and required parameters to edit the object lifecycle policy for a bucket:
Running this command for an existing lifecycle policy replaces the existing policy rules with an updated version that includes whatever changes to the configuration you make. See Creating the Object Lifecycle Policy in Object Storage for more information on configuring a lifecycle policy for a bucket.oci os object-lifecycle-policy put --bucket-name bucket_name [OPTIONS]
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the PutObjectLifecyclePolicy operation to edit the object lifecycle policy for a bucket. Running this operation for an existing lifecycle policy replaces the existing policy rules with an updated version that includes whatever changes to the configuration you make.
See Creating the Object Lifecycle Policy in Object Storage for more information on configuring a lifecycle policy for a bucket.