You need to enable JavaScript to run this app.
Transit Router

Transit Router

Copy page
Download PDF
Inter-region attachment
DeleteTransitRouterPeerAttachment - Deleting an inter-region attachment
Copy page
Download PDF
DeleteTransitRouterPeerAttachment - Deleting an inter-region attachment
Call DeleteTransitRouterPeerAttachment to delete the specified inter-region 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 requiredExample value: DeleteTransitRouterPeerAttachment​
Interface name. The current API name is DeleteTransitRouterPeerAttachment.​
​
Version String requiredExample value: 2020-04-01​
Interface version. The current API version is 2020-04-01.​
​
TransitRouterAttachmentId String requiredExample value: tr-attach-12w7hruhlhlrd****​
The ID of the inter-region attachment.​
​
Force Boolean Optional Example value: true​
Specify whether to force delete the inter-region attachment.​
  • true: Force delete.​
  • false (default): Not force delete.​
​
​
Response parameter​
This API does not have specific response parameters. For more information, see Response structure.​
​
GET /?Action=DeleteTransitRouterPeerAttachment&Version=2020-04-01&TransitRouterAttachmentId=tr-attach-12w7hruhlhlrd**** HTTP/1.1​
Host: transitrouter.cn-beijing.volcengineapi.com​
X-Date: 20250804T034657Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20250804/cn-beijing/transitrouter/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
​
{​
"ResponseMetadata": {​
"RequestId": "20250804114700008115149009C61B4B",​
"Action": "DeleteTransitRouterPeerAttachment",​
"Version": "2020-04-01",​
"Service": "transitrouter",​
"Region": "cn-beijing"​
},​
"Result": {}​
}​
​
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.​
​
Status code​
Error codes​
Error message​
Notes​
400​
InvalidTransitRouter.InvalidStatus​
The specified Transit Router is not in the correct status for the request.​
The specified transit router is in a status that cannot respond to the request.​
400​
InvalidTransitRouterAttachment.InvalidStatus​
The specified Transit Router Attachment is not in the correct status for the request.​
The specified attachment is in a status that cannot respond to the request.​
400​
InvalidTransitRouterAttachment.PeerRegionWithAssociation​
The specified Transit Router has route table associations depending on the attachment in the peer region.​
The specified attachment has an association forwarding route table configured in the peer region and cannot be deleted.​
400​
InvalidTransitRouterAttachment.PeerRegionWithFlowLog​
The specified Transit Router has flow logs depending on the attachment in the peer region.​
The specified attachment has flow logs associated in the peer region and cannot be deleted.​
400​
InvalidTransitRouterAttachment.PeerRegionWithRouteTablePropagation​
The specified Transit Router has route table propagations depending on the attachment in the peer region.​
The specified attachment has route learning configured in the peer region and cannot be deleted.​
400​
InvalidTransitRouterAttachment.WithAssociation​
The specified Transit Router has route table associations depending on the attachment.​
The specified attachment has an association forwarding route table configured and cannot be deleted.​
400​
InvalidTransitRouterAttachment.WithFlowLog​
The specified Transit Router has flow logs depending on the attachment.​
The specified network instance attachment has associated flow logs and cannot be deleted.​
400​
InvalidTransitRouterAttachment.WithRouteTablePropagation​
The specified Transit Router has route table propagations depending on the attachment.​
The specified attachment has route learning configured and cannot be deleted.​
400​
InvalidTransitRouterBandwidthPackage.InvalidStatus​
The specified TransitRouter bandwidth package is being operated now.​
The specified bandwidth package is in a status that cannot respond to this request. Retry later.​
400​
InvalidTransitRouterPeerAttachment.PeerTransitRouterWithRouteEntryToPeerAttachment​
The transit router of the specified attachment has customized route entries to the peer attachment in the peer region.​
The route table of the peer TR associated with the specified attachment contains routes pointing to this attachment.​
400​
InvalidTransitRouterPeerAttachment.TransitRouterWithRouteEntryToPeerAttachment​
The transit router of the specified attachment has customized route entries to the peer attachment.​
The route table of the TR associated with the specified attachment contains routes pointing to this attachment.​
403​
Forbidden.NoPermissionToOperate​
You are not authorized to operate the specified resource.​
No permission to manage the specified resource.​
404​
InvalidTransitRouterAttachment.NotFound​
The specified Transit Router attachment does not exist.​
The specified attachment does not exist.​
​
Last updated: 2025.12.30 10:54:44