Deleting Cross-Cloud Replication Rules

Last Updated At: 2025-10-21 09:10:00

Feature Description

The PUT Bucket CrossCloudReplication API is used to create, update, and delete cross-cloud replication rules configured for the source bucket.

Request

First, obtain the cross-cloud replication request domain name. In a private cloud environment, log in to the platform machine and run the following command to obtain it:

Request Example

POST /capi HTTP/1.1
Host: ocloud-cos-lazarus.xxxx.fsphere.cn
Accept: */*
Content-Type: application/json
request body

Request Body

Users can delete a rule by setting the specific configuration information for cross-cloud replication to empty in the request body. If there are multiple cross-cloud replication rules, users only need to fill in the Configuration field with the other rules that need to be retained to delete the specified rule. In other words, the creation and deletion operations share the same API, and the existing rules in Configuration represent the rules that will be created or modified.

{
  "Action": "PutBucketCrossCloudReplication",
  "Params": {
    "Bucket": "test-1-1255000000",
    "Region": "region",
    "Configuration": []
  }
}

Response

Response Header

HTTP/1.1 200 OK
Date: Tue, 23 Sep 2025 07:58:40 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 810
Connection: keep-alive

Response Body

{
  "RequestId": "",
  "Code": "ok",
  "Message": "",
  "Data": []
}