Deleting or Disabling the Object Lifecycle Policy from Object Storage
Delete or disable a lifecycle policy for an Object Storage bucket.
The system stops running disabled or deleted rules immediately.
If you disabled the lifecycle policy rule, the rule appears in the Lifecycle Policy Rules list displaying Disabled under the State column. If you deleted the rule, it no longer appears in the list.
Use the oci os object-lifecycle-policy delete command and required parameters to delete the object lifecycle policy of a bucket:
oci os object-lifecycle-policy delete --bucket-name bucket_name
For example:
oci os object-lifecycle-policy delete --bucket-name MyStandardTierBucket Are you sure you want to delete this resource? [y/N]: y
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the DeleteObjectLifecyclePolicy operation to delete the object lifecycle policy of a bucket.