Deletes a quintuple rule of a Quality of Service (QoS) policy.

Debug

Use OpenAPI Explorer to perform debug operations and generate SDK code examples.

Request parameters

Parameter Type Required? Example value Description
QosId String Yes qos-wienf**************

The instance ID of the QoS policy.

QosPolicyId String Yes qospy-xhwhyuo43l********

The ID of the quintuple rule.

RegionId String Yes cn-hangzhou

The ID of the region to which the QoS policy belongs.

Action String No DeleteQosPolicy

The name of this action.

Value: DeleteQosPolicy

Response parameters

Parameter Type Example value Description
RequestId String 551CD836-9E46-4F2C-A167-B4363180A647

The ID of the request.

Examples

Request example


http(s)://[Endpoint]/? Action=DeleteQosPolicy
&QosId=qos-wienf**************
&QosPolicyId=qospy-xhwhyuo43l********
&RegionId=cn-hangzhou
&<CommonParameters>

Response example

XML format

<DeleteQosPolicyResponse>
	  <RequestId>551CD836-9E46-4F2C-A167-B4363180A647</RequestId>
    </DeleteQosPolicyResponse>

JSON format

{
	"RequestId":"551CD836-9E46-4F2C-A167-B4363180A647"
}

Errors

HTTP status code Error code Error message Description
400 MissParameter.RegionId You must specify RegionId. You must specify the RegionId.
400 MissParameter.QosId You must specify QosId. You must specify the QosId.
400 MissParameter.QosPolicyId You must specify QosPolicyId. You must specify the QosPolicyId.
400 InvalidId.Qos The specified QosId is invalid. The specified QosId is invalid.
400 InvalidId.QOSPY The specified QosPolicyId is invalid. The specified QosPolicyId is invalid.
403 InternalError An internal server error occurred. An internal error occurred.

For a list of error codes, visit the API Error Center.