Editing the Object Lifecycle Policy in Object Storage
Update the object lifecycle policy for an Object Storage bucket.
Use the oci os object-lifecycle-policy put command and required parameters to edit the object lifecycle policy for a bucket:
oci os object-lifecycle-policy put --bucket-name bucket_name [OPTIONS]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 an Object Storage Object Lifecycle Policy for more information on configuring a lifecycle policy for a bucket.
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 an Object Storage Object Lifecycle Policy for more information on configuring a lifecycle policy for a bucket.