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

Transit Router

Copy page
Download PDF
Route policy
DeleteTransitRouterRoutePolicyTable - Delete route policy
Copy page
Download PDF
DeleteTransitRouterRoutePolicyTable - Delete route policy
Call the DeleteTransitRouterRoutePolicyTable API to delete the specified route policy.​
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 value: DeleteTransitRouterRoutePolicyTable​
The interface name. The current API name is DeleteTransitRouterRoutePolicyTable.​
​
Version String required Example value: 2020-04-01​
The interface version. The current API version is 2020-04-01.​
​
TransitRouterRoutePolicyTableId String required Example value: tr-rpt-hy13n2l4c6c0v****​
The ID of the route policy. You can call the DescribeTransitRouterRoutePolicyTables API to obtain the ID of the route policy.​
​
Force Boolean required Example value: true​
Specify whether to force delete the route policy. Valid values:​
  • true: Force delete.​
  • false: Not force delete.​
​
​
​
Response parameters​
This API does not have specific response parameters. For more information, see Response structure.​
Request examples​
​
GET /?Action=DeleteTransitRouterRoutePolicyTable&Version=2020-04-01&TransitRouterRoutePolicyTableId=tr-rpt-hy13n2l4c6c0v**** HTTP/1.1​
Host: transitrouter.cn-beijing.volcengineapi.com​
X-Date: 20250815T033444Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20250815/cn-beijing/transitrouter/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
Response examples​
​
{​
"ResponseMetadata": {​
"RequestId": "20250815113447224075072138E42058",​
"Action": "DeleteTransitRouterRoutePolicyTable",​
"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​
InvalidTransitRouterRoutePolicy.InUse​
The specified route policy has been used by Transit Router route tables, and cannot be deleted.​
The specified TR route policy cannot be deleted because it is currently associated with a TR route table.​
400​
InvalidTransitRouterRoutePolicy.InvalidStatus​
The specified Transit Router route policy is not in the correct status for the request.​
The specified route policy is in a status that cannot respond to this request.​
400​
InvalidTransitRouterRoutePolicy.WithRoutePolicyEntry​
The specified route policy has configured route policy entries, and cannot be deleted.​
The specified TR route policy table contains configured policy entries and cannot be deleted.​
404​
InvalidTransitRouterRoutePolicy.NotFound​
The specified Transit Router route policy does not exist.​
The specified route policy does not exist.​
​
Last updated: 2025.12.29 19:35:42