You need to enable JavaScript to run this app.
文档中心
专线连接

专线连接

复制全文
下载 pdf
专线网关路由
DeleteDirectConnectGatewayRoute - 删除专线网关路由
复制全文
下载 pdf
DeleteDirectConnectGatewayRoute - 删除专线网关路由
调用DeleteDirectConnectGatewayRoute删除指定的专线网关静态路由。​
使用说明​
路由方式为“系统路由”、“BGP”类型的路由条目不可删除。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action String 必选 示例值:DeleteDirectConnectGatewayRoute​
接口名称。当前 API 的名称为 DeleteDirectConnectGatewayRoute。​
​
Version String 必选 示例值:2020-04-01​
接口版本。当前 API 的版本为 2020-04-01。​
​
DirectConnectGatewayRouteId String 必选 示例值:dcr-2752hzaqrwfeo7f****​
待删除静态路由的ID。​
您可调用DescribeDirectConnectGatewayRoutes查询专线网关静态路由的ID。​
​
​
​
返回参数​
本接口无特有的返回参数。更多信息请见返回结构。​
请求示例​
​
GET /?Action=DeleteDirectConnectGatewayRoute&Version=2020-04-01&DirectConnectGatewayRouteId=dcr-7qthudw0ll6jmc**** HTTP/1.1​
Host: directconnect.cn-beijing.volcengineapi.com​
X-Date: 20251121T094038Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20251121/cn-beijing/directconnect/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "202111161611080102121461940900****",​
"Action": "DeleteDirectConnectGatewayRoute",​
"Version": "2020-04-01",​
"Service": "directconnect",​
"Region": "cn-beijing"​
},​
"Result": {​
"RequestId": "202111161611080102121461940900****"​
}​
}​
​
错误码​
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。​
​
状态码​
错误码​
错误信息​
说明​
400​
InvalidDirectConnectGateway.InvalidStatus​
The specified direct connect gateway is not in the correct status for the request.​
指定的专线网关所处的状态无法响应该请求。​
400​
InvalidDirectConnectGatewayRoute.InUse​
The specified direct connect gateway route can not be deleted while in use.​
指定的静态路由正在处理中,不可删除。​
400​
InvalidCen.InvalidStatus​
The CEN attached by the specified direct connect gateway is not in the correct status for the request.​
指定的专线网关挂载的CEN实例状态无法响应该请求,请稍后再试。​
403​
Forbidden​
You are not authorized to perform operations on the specified route entry. The specified route entry is a system route entry.​
无权限对指定路由条目进行操作。指定的路由条目为系统路由条目。​
404​
InvalidDirectConnectGatewayRoute.NotFound​
The specified direct connect gateway route does not exist.​
指定的专线网关路由条目不存在。​
404​
InvalidDirectConnectGateway.NotFound​
The specified direct connect gateway does not exist.​
指定的专线网关不存在。​
​
​
最近更新时间:2026.01.23 17:00:40
这个页面对您有帮助吗?
有用
有用
无用
无用