You need to enable JavaScript to run this app.
文档中心
私有网络

私有网络

复制全文
下载 pdf
路由表
DeleteRouteTable - 删除路由表
复制全文
下载 pdf
DeleteRouteTable - 删除路由表
调用 DeleteRouteTable 接口,删除指定的路由表。​
使用说明​
  • 系统路由表不支持调用本接口删除。删除VPC时,其随VPC一同删除。​
  • 自定义子网路由表未关联子网。若已关联,请 解除关联 ,子网解除关联后,自动与系统路由表关联。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action String 必选 示例值:DeleteRouteTable​
接口名称。当前 API 的名称为DeleteRouteTable。​
​
Version String 必选 示例值:2020-04-01​
接口版本。当前 API 的版本为 2020-04-01。​
​
RouteTableId String 必选 示例值:vtb-2fdzao4h726f45******​
待删除路由表的ID。​
您可以调用 DescribeRouteTableList 接口,查询路由表的ID。​
​
​
​
返回参数​
下方仅列出本接口特有的返回参数。更多信息请参见返回结构。​
RequestId String 示例值:2021062415303301022514515207C4****​
请求ID。​
​
​
​
请求示例​
​
GET /?Action=DeleteRouteTable&Version=2020-04-01&RouteTableId=vtb-2fdzao4h726f45**** HTTP/1.1​
Host: vpc.cn-beijing.volcengineapi.com​
X-Date: 20251121T094038Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20251121/cn-beijing/vpc/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "2021062415303301022514515207C4****",​
"Action": "DeleteRouteTable",​
"Version": "2020-04-01",​
"Service": "vpc",​
"Region": "cn-beijing"​
},​
"Result": {​
"RequestId": "2021062415303301022514515207C4****"​
}​
}​
​
错误码​
​
状态码​
错误码​
错误信息​
说明​
400​
DryRunOperation​
Exception raised to indicate a successfully authorized action when the DryRun flag is set to true.​
该请求设置为DryRun操作,操作授权已获得许可,但未被实际执行。​
400​
InvalidGatewayRouteTable.InUse​
The specified route table has dependent resource of a gateway.​
指定的路由表关联网关,无法删除。​
400​
InvalidRouteTable.InUse​
The specified route table has dependent resource of a route entry.​
指定的路由表下有路由条目,无法删除。​
400​
InvalidRouteTable.InUse​
The specified route table has dependent resource of a subnet.​
指定的路由表关联子网,无法删除。​
400​
InvalidVpc.InvalidStatus​
The specified VPC is not in the correct status for the request.​
指定的VPC所处状态无法响应该请求。​
403​
Forbidden​
You are not authorized to perform operations on the specified route table. The specified route table is a system route table.​
无权限对指定路由表进行操作。指定的路由表为系统路由表。​
404​
InvalidRouteTable.NotFound​
The specified route table does not exist.​
指定的路由表不存在。​
​
​
最近更新时间:2026.02.09 16:06:03
这个页面对您有帮助吗?
有用
有用
无用
无用