问题描述
删除数据复制规则请求中缺少规则ID。
问题原因
您发起了DeleteBucketReplication请求,但是请求的数据复制规则中未包含待删除规则ID。
问题示例
以下示例中缺少待删除规则ID。
POST /?replication&comp=delete HTTP/1.1
Host: BucketName.oss-cn-hangzhou.aliyuncs.com
Date: GMT Date
Content-Length:ContentLength
Content-Type: application/xml
Authorization: SignatureValue
<?xml version="1.0" encoding="UTF-8"?>
<ReplicationRules>
</ReplicationRules>
解决方案
请求示例中补充待删除规则ID。
POST /?replication&comp=delete HTTP/1.1
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Date: Thu, 24 Sep 2015 15:39:18 GMT
Content-Length:46
Content-Type: application/xml
Authorization: OSS qn6qrrqxo2oawuk53otf****:CTkuxpLAi4XZ+WwIfNm0Fmgb****
<?xml version="1.0" encoding="UTF-8"?>
<ReplicationRules>
<ID>test_replication_1</ID>
</ReplicationRules>
相关文档
文档内容是否对您有帮助?