Deleting the Replication Policy from an Object Storage Source Bucket

Delete the replication policy for an Object Storage bucket.

For information about how replication works, see Using Replication.

    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 replication source bucket whose replication policy you want to delete. The bucket's Details page appears.
    4. Click Replication Policy under Resources. The Replication Policy (Destination) list appears.
    5. Click the Actions menu (Actions Menu) next to the replication policy that you want to delete and select Delete.
    6. Confirm the deletion.
    The Replication Policy list no longer has an entry. The Create Policy button reappears. The bucket reverts to being read/write.
  • Use the oci os replication delete-replication-policy command and required parameters to delete the replication policy associated with an Object Storage source bucket.

    oci os replication delete-replication-policy --bucket-name bucket_name --replication-id replication_policy_id [OPTIONS]

    For example:

    oci os replication delete-replication-policy --bucket-name MySourceBucket --replication-id bacb8334-b191-4026-aa65-5e4f5165ae3e
    Are you sure you want to delete this resource? [y/N]: y

    If the command is successful, you're returned to the prompt.

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the DeleteReplicationPolicy operation to stop replication to delete the replication policy for an Object Storage bucket.