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

Transit Router

Copy page
Download PDF
Local peer attachment
RejectTransitRouterLocalPeerAttachment - Rejecting a cross-account local peer attachment
Copy page
Download PDF
RejectTransitRouterLocalPeerAttachment - Rejecting a cross-account local peer attachment
Call RejectTransitRouterLocalPeerAttachment to reject a local peer attachment spanning multiple accounts.​
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: RejectTransitRouterLocalPeerAttachment​
The interface name. The current API name is RejectTransitRouterLocalPeerAttachment.​
​
Version String required Example value: 2020-04-01​
The interface version. The current API version is 2020-04-01.​
​
TransitRouterAttachmentId String required Example value: tr-attach-afb24****​
The ID of the local peer attachment You can call DescribeTransitRouterLocalPeerAttachments to obtain the ID of the local peer attachment.​
​
​
Response parameters​
This API does not have specific response parameters. For more information, see Response structure.​
Request examples​
​
GET /?Action=RejectTransitRouterLocalPeerAttachment&Version=2020-04-01&TransitRouterAttachmentId=tr-attach-afb24**** HTTP/1.1​
Host: transitrouter.cn-beijing.volcengineapi.com​
X-Date: 20250804T033538Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20250804/cn-beijing/transitrouter/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
Response examples​
​
{​
"ResponseMetadata": {​
"RequestId": "20230604110420****100232280022D31",​
"Action": "RejectTransitRouterLocalPeerAttachment",​
"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​
Explanation​
400​
InvalidTransitRouter.InvalidStatus​
The specified Transit Router is not in the correct status for the request.​
The specified Transit Router (TR) 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 network instance attachment is in a status that cannot respond to the request.​
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 network instance attachment does not exist.​
​
Last updated: 2025.12.29 19:36:42