Deletes 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-xhwhyuo43l********

The instance ID of the QoS policy to be deleted.

RegionId String Yes cn-hangzhou

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

Action String No DeleteQos

The name of this action.

Value: DeleteQos

Response parameters

Parameter Type Example value Description
RequestId String F77B3F0E-CAA2-41CF-A752-4F2893C5F7F0

The ID of the request.

Examples

Request example


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

Response example

XML format

<DeleteQosResponse>
	  <RequestId>F77B3F0E-CAA2-41CF-A752-4F2893C5F7F0</RequestId>
    </DeleteQosResponse>

JSON format

{
	"RequestId":"F77B3F0E-CAA2-41CF-A752-4F2893C5F7F0"
}

Errors

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

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