Deletes the Quality of Service (QoS) configurations for a bucket.
Notice
The resource pool QoS feature is in invitational preview. If the throughput of Object Storage Service (OSS) buckets in a specific region is greater than or equal to 500 Gbit/s, contact technical support to apply for the feature.
By default, an Alibaba Cloud account has the permissions to delete the QoS configurations for a bucket. Deleting QoS configurations as a RAM user or by using Security Token Service (STS) requires the
oss:DeleteBucketQoSInfo
permission. For more information, see Attach a custom policy to a RAM user.You can delete the QoS configurations only for buckets that are added to a resource pool.
Syntax
ossutil api invoke-operation --op-name delete-bucket-qos-info --method DELETE --bucket <bucket-name> --parameters qosInfo
Parameter | Type | Description |
--bucket | string | Name of the bucket. |
--parameters | stringArray | Request parameters in the k[=v] format, such as versionId=123 and delete. |
For information about supported global command-line options, see Command-line options.
Example
The following command provides an example of how to delete the QoS configurations for examplebucket
.
ossutil api invoke-operation --op-name delete-bucket-qos-info --method DELETE --bucket examplebucket --parameters qosInfo