Updated on 2026-05-26 GMT+08:00

Deleting Back-to-Source by Mirroring Rules

Function

This API is used to delete the back-to-source by mirroring rules of a bucket if such rules have been configured. When the deletion succeeds, a success message is returned with the status code of 204. For more information about back to source by mirroring, Using Mirroring-Based Back to Source to Retrieve Data.

Authorization

To call this API, you must be the bucket owner or have the Tenant Administrator permission. To configure the Tenant Administrator permission, you need to use role/policy-based authorization (IAM v3 APIs in the old IAM version). For details, see Using IAM for Authorization.

URI

DELETE /

Calling Method

For details, see Calling APIs. Before calling this API, calculate the API signature and add it to the request.

You can debug this API in API Explorer.

Request Syntax

DELETE /?mirrorBackToSource HTTP/1.1
Host: bucketname.obs.region.myhuaweicloud.com 
Authorization: authorization
Date: date

URI Parameters

This request contains no URI parameters.

Request Headers

This request uses common headers. For details, see Table 3.

Request Body

This request contains no request body parameters.

Response Syntax

HTTP/1.1 status_code
Server: OBS
Date: date

Response Headers

This response uses common headers. For details, see Table 1.

Response Body

This response contains no elements.

Error Responses

No special errors. You can find all errors in Table 2 and Table 3.

Sample Request

DELETE /?mirrorBackToSource HTTP/1.1
Host: bucketname.obs.region.myhuaweicloud.com 
Authorization: OBS H4IPJX0TQTHTHEBQQCEC:sc2PM13Wlfcoc/YZLK0MwsI2Zpo=
Date: Tue, 21 Jul 2020 17:28:46 GMT

Sample Response

HTTP/1.1 204 No Content
Server: OBS
Date: Tue, 07 Jul 2020 07:38:30 GMT

Helpful Links