Deletes a custom route table.


By using OpenAPI Explorer, you can easily debug APIs, automatically generate SDK code examples, and quickly search for APIs.

Request parameters

Parameter Type Required? Example value Description
Action String  Yes  DeleteRouteTable

The name of this action.  Value: 


RegionId String  Yes  cn-hangzhou

The region ID of the VPC to which the VRouter belongs.

To query the region ID, call DescribeRegions.

RouteTableId String  Yes vtb-bp145q7glnuzdvzu21pom The ID of the route table.

Response parameters

Parameter Type Example value Description
RequestId String DC668356-BCB4-42FD-9BC3-FA2B2E04B634 The ID of the request.


Request example
Response example
  • XML format

  • JSON format


Error codes

HTTP status code Error code Error message Description
400 IncorrectVSwitchStatus The current virtual switch status does not support this operation. The specified VSwitch failed to be deleted because it is in the Pending status.

See common error codes