- Documentation
Transit Router
API reference
Association forwarding
AssociateTransitRouterAttachmentToRouteTable - Associating a TR route table with a network instance attachment
Association forwarding
AssociateTransitRouterAttachmentToRouteTable - Associating a TR route table with a network instance attachment
AssociateTransitRouterAttachmentToRouteTable - Associating a TR route table with a network instance attachment
Call the AssociateTransitRouterAttachmentToRouteTable API to associate the specified route table with a network instance attachment.
Debug
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
Request parameters
The following only details request parameters specific to this API and key common parameters. For more information, see Common parameters. Action String required Example value: AssociateTransitRouterAttachmentToRouteTable
The interface name. The current API name is AssociateTransitRouterAttachmentToRouteTable.
Version String requiredExample: 2020-04-01
The interface version. The current API version is 2020-04-01.
TransitRouterAttachmentId String requiredExample: tr-attach-13n2l4c****
The ID of the network instance attachment.
TransitRouterRouteTableId String required Example: tr-rtb-hy13n2l4c6c0v****
The ID of the route table associated with the Transit Router (TR) instance. You can call the DescribeTransitRouterRouteTables API to obtain the TR route table ID.
Response parameters
This API does not have specific response parameters. For more information, see Response structure. Request examples
GET /?Action=AssociateTransitRouterAttachmentToRouteTable&Version=2020-04-01&TransitRouterAttachmentId=tr-attach-a*******&TransitRouterRouteTableId=tr-rtb-hy13n2l4c6c0v**** HTTP/1.1
Host: transitrouter.cn-beijing.volcengineapi.com
X-Date: 20250721T114234Z
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20250721/cn-beijing/transitrouter/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f
Response examples
"RequestId": "202507211940210690630421693CF526",
"Action": "AssociateTransitRouterAttachmentToRouteTable",
"Version": "2020-04-01",
"Service": "transitrouter",
Error codes
The table below describes the error codes for this API that are associated with business logic. For more information, see Common error codes. Last updated: 2025.12.29 19:24:04