Editing the Object Lifecycle Policy in Object Storage

Update the object lifecycle policy for an Object Storage bucket.

    1. Open the navigation menu and click Storage. Under Object Storage & Archive Storage, click Buckets.
    2. Select the compartment from the list under List Scope. All buckets in that compartment are listed in tabular form.
    3. Click the bucket whose lifecycle rule you want to edit. The bucket's Details page appears.
    4. Click Lifecycle Policy Rules under Resources. The Lifecycle Policy Rules list appears. All lifecycle policy rules are listed in tabular form.
    5. Click the Actions menu (Actions Menu)next to the rule that you want to edit, and select Edit. The Edit Lifecycle Rule dialog log appears.
    6. Make you edits. See Creating the Object Lifecycle Policy in Object Storage for descriptions of the settings.
    7. Click Save Changes.
  • 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 the Object Lifecycle Policy in Object Storage 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 the Object Lifecycle Policy in Object Storage for more information on configuring a lifecycle policy for a bucket.