You need to enable JavaScript to run this app.
文档中心
中转路由器

中转路由器

复制全文
下载 pdf
VPN类型网络实例连接
DeleteTransitRouterVpnAttachment-删除VPN类型网络实例连接
复制全文
下载 pdf
DeleteTransitRouterVpnAttachment-删除VPN类型网络实例连接
调用DeleteTransitRouterVpnAttachment接口,删除指定的VPN类型网络实例。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action String 必选 示例值:DeleteTransitRouterVpnAttachment​
接口名称。当前 API 的名称为DeleteTransitRouterVpnAttachment。​
​
Version String 必选 示例值:2020-04-01​
接口版本。当前 API 的版本为2020-04-01。​
​
TransitRouterAttachmentId String 必选 示例值:tr-attach-13n2l4c****​
网络实例连接ID。您可以调用DescribeTransitRouterVpnAttachments接口获取VPN类型网络实例连接的ID。​
​
Force Boolean 可选 示例值:false​
是否强制删除VPN类型的网络实例连接。​
  • true:强制删除。​
  • false:不会强制删除。​
​
​
返回参数​
本接口无特有的返回参数。更多信息请见返回结构。​
请求示例​
​
GET /?Action=DeleteTransitRouterVpnAttachment&Version=2020-04-01&TransitRouterAttachmentId=tr-attach-13n2l4c**** HTTP/1.1​
Host: transitrouter.cn-beijing.volcengineapi.com​
X-Date: 20250804T034303Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20250804/cn-beijing/transitrouter/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "20250804114307088173239187B52DB8",​
"Action": "DeleteTransitRouterVpnAttachment",​
"Version": "2020-04-01",​
"Service": "transitrouter",​
"Region": "cn-beijing"​
},​
"Result": {}​
}​
​
错误码​
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。​
​
状态码​
错误码​
错误信息​
说明​
400​
InvalidTransitRouter.InvalidStatus​
The specified Transit Router is not in the correct status for the request.​
指定的中转路由器所处状态无法响应该请求。​
400​
InvalidTransitRouterAttachment.InvalidStatus​
The specified Transit Router Attachment is not in the correct status for the request.​
指定的网络实例连接所处状态无法响应该请求。​
400​
InvalidTransitRouterAttachment.WithAssociation​
The specified Transit Router has route table associations depending on the attachment.​
指定的网络实例连接已配置关联转发路由表,无法删除。​
400​
InvalidTransitRouterAttachment.WithRouteTablePropagation​
The specified Transit Router has route table propagations depending on the attachment.​
指定的网络实例连接已配置路由学习,无法删除。​
400​
InvalidTransitRouterAttachment.WithStaticRouteEntry​
The specified Transit Router has static route entries depending on the attachment.​
指定的网络实例连接存在静态路由,无法删除。​
403​
Forbidden.NoPermissionToOperate​
You are not authorized to operate the specified resource.​
无权限操作指定的资源。​
404​
InvalidTransitRouterAttachment.NotFound​
The specified Transit Router attachment does not exist.​
指定的网络实例连接不存在。​
​
最近更新时间:2025.12.31 12:18:45
这个页面对您有帮助吗?
有用
有用
无用
无用