Deleting the QoS Configuration of a Bucket
Function
This API deletes the QoS configuration of a bucket.
Constraints
- Bucket QoS is currently under closed beta test and is available only to invited tenants.
- Currently, only bucket-level QoS rules can be created by users. To adjust account-level QoS rules, submit a service ticket to contact technical support. If no bucket-level QoS rule is configured for a bucket, the bucket can use up to the maximum cluster resources available to the account.
- If there is no limit on the metrics of the cluster to which the bucket belongs, the maximum value that can be configured for the corresponding bucket-level metric is 263 – 1.
- Traffic control is triggered when either the QPS or bandwidth threshold is exceeded. When this happens, request latency increases, and the response includes the x-obs-qos-delay-time header, which indicates the duration for which the request was throttled, in milliseconds (ms). Upload requests (such as PUT uploads and part uploads) return the exact throttling duration. However, download requests (such as object downloads) only return an estimate based on the degree of throttling and the object size.
- Traffic control is triggered when the concurrent request threshold is exceeded. When this happens, requests fail immediately with HTTP 429. When QPS or bandwidth traffic control is triggered, the resulting increase in request latency can also lead to more concurrent requests.
Authorization
To call this API, you must be the bucket owner or have the permission to delete the QoS configuration of a bucket. You are advised to use IAM or bucket policies for authorization.
- If you use IAM for authorization, you need to use either role/policy-based authorization or identity policy-based authorization and configure the required permissions:
- If you use role/policy-based authorization (IAM v3 APIs in the old IAM version), you must have the obs:bucket:DeleteBucketQosInfo permission. For details, see Creating a Custom IAM Policy.
- If you use identity policy-based authorization (IAM v5 APIs in the new IAM version), you must have the obs:bucket:deleteBucketQosInfo permission, as shown in the following table. For details, see Creating a Custom IAM Identity Policy.
Action
Access Level
Resource Type (*: Required)
Dependencies
obs:bucket:deleteBucketQosInfo
Write
bucket *
-
-
-
- obs:EpochTime
- obs:SourceIp
- obs:TlsVersion
- obs:CustomDomain
- If you use bucket policies for authorization, you must have the obs:bucket:DeleteBucketQosInfo permission. For details, see Creating a Custom Bucket Policy.
URI
DELETE /
Request Syntax
The following is an example request. Replace BucketName with your bucket name and RegionID with the ID of the region where your bucket resides. You can obtain the region ID by referring to Supported Regions.
DELETE /?x-obs-qosInfo HTTP/1.1 User-Agent: curl/7.29.0 Host: BucketName.obs.RegionID.myhuaweicloud.com Accept: */* Date: GMT Date Authorization: SignatureValue
URI Parameters
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| x-obs-qosInfo | Yes | String | Definition An identifier that marks this API as related to bucket QoS. Constraints When calculating the signature, add /BucketName/?x-obs-qosInfo to CanonicalizedResource. For details, see Using an Authorization Header. Range x-obs-qosInfo Default Value N/A |
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 x-obs-request-id: request id x-obs-id-2: id Date: date
Response Headers
This response uses common headers. For details, see Table 1.
Response Body
This response does not contain a response body.
Error Responses
No special errors. You can find all errors in Error Code Overview.
Sample Request
DELETE /?x-obs-qosInfo HTTP/1.1 User-Agent: curl/7.29.0 Host: bucketname.obs.region.myhuaweicloud.com Accept: */* Date: Thu, 22 May 2025 02:55:02 +0000 Authorization: OBS UDSIAMSTUBTEST000254:ydH8ffpcbS6YpeOMcEZfn0wE90c=
Sample Response
HTTP/1.1 204 No Content Server: OBS x-obs-request-id: 00000196F5EA6876530660DD3FD2422A x-obs-id-2: 36AAAQAAEAABSAAgAAEAABAAAQAAEAABAAAaM=AAAAAAAAAAAAAAAAAAAAAAAAAA Date: Thu, 22 May 2025 02:55:02 GMT
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot