You need to enable JavaScript to run this app.
Direct Connect

Direct Connect

Copy page
Download PDF
Qos policy
DeleteDirectConnectTrafficQosRule - Deleting a specified traffic rule
Copy page
Download PDF
DeleteDirectConnectTrafficQosRule - Deleting a specified traffic rule
Call DeleteDirectConnectTrafficQosRule to delete a specified traffic rule.​
Instructions​
Only manually created traffic rules can be deleted. Default traffic rules cannot be deleted. You can call DescribeDirectConnectTrafficQosRules to query the traffic rule ID. The queue with DirectConnectTrafficQosRuleName set to Default and Priority set to 65535 is a default traffic rule.​
Debug​
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
​
Request parameters​
The following only details request parameters specific to this API and key common parameters. For more information, see Common parameters.​
Action String required Example: DeleteDirectConnectTrafficQosRule​
The interface name. The current API name is DeleteDirectConnectTrafficQosRule.​
​
Version String required Example: 2020-04-01​
The interface version. The current API version is 2020-04-01.​
​
DirectConnectTrafficQosRuleId String required Example: dqr-6o5erg54rrg4****​
The ID of the traffic rule to be deleted.​
You can call the DescribeDirectConnectTrafficQosRules API to query the traffic rule ID.​
​
​
​
Response parameters​
This API does not have specific response parameters. For more information, see Response structure.​
Request examples​
​
GET /?Action=DeleteDirectConnectTrafficQosRule&Version=2020-04-01&DirectConnectTrafficQosRuleId=dqr-2fezs9g1xwy6859gp67tyw**** HTTP/1.1​
Host: directconnect.cn-beijing.volcengineapi.com​
X-Date: 20251121T094038Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20251121/cn-beijing/directconnect/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
Response examples​
​
{​
"ResponseMetadata": {​
"RequestId": "2024110716053568499AEFD8A1035B****",​
"Action": "DeleteDirectConnectTrafficQosRule",​
"Version": "2020-04-01",​
"Service": "directconnect",​
"Region": "cn-beijing"​
},​
"Result": {​
"RequestId": "2024110716053568499AEFD8A1035B****"​
}​
}​
​
Error codes​
The table below describes the error codes for this API that are associated with business logic. For details, see Common error codes.​
​
Status code​
Error codes​
Error message​
Description​
400​
DryRunOperation​
Exception raised to indicate a successfully authorized action when the DryRun flag is set to true.​
This request is set to DryRun. The action is authorized but not executed.​
400​
InvalidDirectConnectTrafficQosPolicy.InvalidStatus​
The specified direct connect traffic qos policy is not in the correct status for the request.​
The specified QoS policy cannot respond to this request due to its status.​
400​
InvalidDirectConnectTrafficQosQueue.InvalidStatus​
The specified direct connect traffic qos queue is not in the correct status for the request.​
The specified QoS traffic queue cannot respond to this request due to its status.​
400​
InvalidDirectConnectTrafficQosRule.DeleteDefaultPriority​
It is not supported to delete the direct connect traffic qos rule with default priority.​
Deleting QoS traffic rules with default priority is not supported.​
400​
InvalidDirectConnectTrafficQosRule.InvalidStatus​
The specified direct connect traffic qos rule is not in the correct status for the request.​
The specified QoS traffic rule cannot respond to this request due to its status.​
400​
QuotaExceeded.DcTrafficQosRule​
You've reached the limit on the number of traffic qos rules that you can create.​
You have reached the maximum number of QoS traffic rules that can be created.​
404​
InvalidDirectConnectTrafficQosRule.NotFound​
The specified direct connect traffic qos rule does not exist.​
The specified QoS traffic rule does not exist.​
​
Last updated: 2026.03.06 15:29:55