Deletes a custom route table of an Enterprise Edition transit router.
Limits
You cannot delete the default route table of an Enterprise Edition transit router.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | No | DeleteTransitRouterRouteTable |
The operation that you want to perform. Set the value to DeleteTransitRouterRouteTable. |
TransitRouterRouteTableId | String | Yes | vtb-bp1xbcgpgcz9axl9m**** |
The ID of the custom route table. |
ClientToken | String | No | 02fb3da4-130e-11e9-8e44-001**** |
The client token that is used to ensure the idempotence of the request. You can use the client to generate a token, but you must ensure that it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. |
DryRun | Boolean | No | false |
Specifies whether to only precheck the request. Check items include permissions and the status of the transit router. Valid values:
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | EAB2F133-8556-4D7C-9E91-7EE4FE9CC7D2 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DeleteTransitRouterRouteTable
&TransitRouterRouteTableId=vtb-bp1xbcgpgcz9axl9m****
&<Common request parameters>
Sample success responses
XML
format
<DeleteTransitRouterRouteTableResponse>
<RequestId>EAB2F133-8556-4D7C-9E91-7EE4FE9CC7D2</RequestId>
</DeleteTransitRouterRouteTableResponse>
JSON
format
{
"RequestId": "EAB2F133-8556-4D7C-9E91-7EE4FE9CC7D2"
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
400 | InvalidTransitRouterRouteTableId.NotFound | TransitRouterRouteTableId is not found. | The error message returned because the specified custom route table ID is invalid. |
400 | DryRunOperation | Request validation has been passed with DryRun flag set. | The error message returned because the dry run request passes the precheck. |
400 | IncorrectStatus.TransitRouterRouteTable | TransitRouterRouteTable status is invalid. | The error message returned because the state of the transit router is invalid. |
For a list of error codes, visit the API Error Center.