You need to enable JavaScript to run this app.
Transit Router

Transit Router

Copy page
Download PDF
Traffic qos marking policy
DeleteTransitRouterTrafficQosMarkingPolicy - Deleting a traffic marking policy
Copy page
Download PDF
DeleteTransitRouterTrafficQosMarkingPolicy - Deleting a traffic marking policy
Call the DeleteTransitRouterTrafficQosMarkingPolicy API to delete a traffic marking policy.​
Notes​
  • The traffic marking policy is not used by an inter-region attachment. If in use, disable the traffic marking policy for the inter-region attachment first.​
  • No marking entries exist in the traffic marking policy. If present, delete the marking entries first.​
Precautions​
Traffic marking may be impacted by deleting a traffic marking policy. If the bandwidth allocated to the scheduling queue matched by the traffic marking is insufficient for actual business requirements, normal service forwarding may be impacted.​​
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: DeleteTransitRouterTrafficQosMarkingPolicy​
The interface name. The current API name is DeleteTransitRouterTrafficQosMarkingPolicy.​
​
Version String required Example: 2020-04-01​
The interface version. The current API version is 2020-04-01.​
​
TransitRouterTrafficQosMarkingPolicyId String required Example: tr-tmp-hy13n2l4c6c0v****​
ID of the traffic marking policy. You can call the DescribeTransitRouterTrafficQosMarkingPolicies API to obtain the ID of the traffic marking policy.​
​
​
​
Response parameters​
This API does not have specific response parameters. For more information, see Response structure.​
Request examples​
​
GET /?Action=DeleteTransitRouterTrafficQosMarkingPolicy&Version=2020-04-01&TransitRouterTrafficQosMarkingPolicyId=tr-tmp-hy13n2l4c6c0v**** HTTP/1.1​
Host: transitrouter.cn-beijing.volcengineapi.com​
X-Date: 20250731T083020Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20250731/cn-beijing/transitrouter/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
Response examples​
​
{​
"ResponseMetadata": {​
"RequestId": "20250731163024175200203024897C98",​
"Action": "DeleteTransitRouterTrafficQosMarkingPolicy",​
"Version": "2020-04-01",​
"Service": "transitrouter",​
"Region": "cn-beijing"​
},​
"Result": {}​
}​
​
Error codes​
The table below describes the error codes for this API that are associated with business logic. For more information, see Common error codes.​
​
Status code​
Error codes​
Error message​
Explanation​
400​
InvalidTransitRouter.InvalidStatus​
The specified Transit Router is not in the correct status for the request.​
The specified Transit Router (TR) is in a status that cannot respond to the request.​
400​
InvalidTransitRouterTrafficQosMarkingPolicy.InvalidStatus​
The specified Transit Router traffic qos marking policy is not in the correct status for the request.​
The specified traffic marking policy cannot respond to this request due to its status.​
400​
InvalidTransitRouterTrafficQosMarkingPolicy.WithAssociation​
The specified traffic qos marking policy has been associated to Transit Router attachments, and cannot be deleted.​
The specified traffic marking policy is in use by a network instance attachment and cannot be deleted.​
400​
InvalidTransitRouterTrafficQosMarkingPolicy.WithTrafficQosMarkingEntry​
There are marking entries within the specified traffic qos marking policy, which cannot be deleted.​
The specified traffic marking policy has entries configured and cannot be deleted.​
404​
InvalidTransitRouterTrafficQosMarkingPolicy.NotFound​
The specified Transit Router traffic qos marking policy does not exist.​
The specified traffic marking policy does not exist.​
​
Last updated: 2025.12.29 19:35:42