You need to enable JavaScript to run this app.
导航

DissociateTransitRouterAttachmentFromRouteTable

最近更新时间2024.03.27 10:32:27

首次发布时间2023.03.07 09:56:38

调用DissociateTransitRouterAttachmentFromRouteTable接口,解除指定路由表与网络实例连接的关联关系。

请求参数

名称类型是否必选示例值描述
ActionStringDissociateTransitRouterAttachmentFromRouteTable要执行的操作,取值为DissociateTransitRouterAttachmentFromRouteTable。
VersionString2020-04-01API版本信息,当前版本为2020-04-01。

TransitRouterAttachmentId

String

tr-attach-13n2l4c****

网络实例连接的ID。

TransitRouterRouteTableIdStringtr-rtb-1i5i8khf9m58gae5kcx6****中转路由器实例关联的路由表的ID。您可以调用DescribeTransitRouterRouteTables接口获取TR路由表的ID。

返回参数

名称
类型
示例值
描述
RequestIdString0ED8D006-F706-4D23-88ED-E11ED28D****请求ID。

请求示例

GET /?Action=DissociateTransitRouterAttachmentFromRouteTable&Version=2020-04-01&TransitRouterAttachmentId=tr-attach-13n2l4c****&TransitRouterRouteTableId=tr-rtb-1i5i8khf9m58gae5kcx6**** HTTP/1.1
Host: open.volcengineapi.com
Service: transitrouter
Region: cn-guangzhou

返回示例

{
    "ResponseMetadata": {
        "RequestId": "0ED8D006-F706-4D23-88ED-E11ED28D****",
        "Action": "DissociateTransitRouterAttachmentFromRouteTable",
        "Version": "2020-04-01",
        "Service": "transitrouter",
        "Region": "cn-guangzhou"
    },
    "Result": {}
}

错误码

下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。

HttpCode错误码错误信息描述
400InvalidTransitRouter.InvalidStatusThe specified Transit Router is not in the correct status for the request.指定的中转路由器所处状态无法响应该请求。
404InvalidTransitRouterRouteTable.NotFoundThe specified route table does not exist.指定的中转路由器路由表不存在。
403Forbidden.NoPermissionToOperateYou are not authorized to operate the specified resource.无权限操作指定的资源。
404InvalidTransitRouterRouteTableAssociation.NotFoundThe specified Transit Router route table association does not exist.指定的中转路由器关联转发关系不存在。