- Documentation
Transit Router
API reference
VPN attachment
ModifyTransitRouterVpnAttachmentAttributes - Modifying a VPN attachment
VPN attachment
ModifyTransitRouterVpnAttachmentAttributes - Modifying a VPN attachment
ModifyTransitRouterVpnAttachmentAttributes - Modifying a VPN attachment
Call ModifyTransitRouterVpnAttachmentAttributes to modify the information of the specified Virtual Private Network (VPN) 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: ModifyTransitRouterVpnAttachmentAttributes
The interface name. The current API name is ModifyTransitRouterVpnAttachmentAttributes.
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-a*******
Description String optional Example value: This attachment is used for test.
The description of the network instance attachment.
- Must start with a letter, number, or Chinese character. May include letters, numbers, Chinese characters, and the following symbols: commas (,), periods (.), underscores (_), spaces ( ), equal signs (=), hyphens (-), Chinese commas ( , ), and Chinese periods ( 。 ).
- Must be 0 to 255 characters.
- If you do not modify this parameter value, its original configuration remains.
TransitRouterAttachmentName String Optional Example value: attachment-02
The name of the network instance attachment.
- Must start with a letter, number, or Chinese character. May include letters, numbers, Chinese characters, and the following symbols: periods (.), underscores (_), and hyphens (-).
- Must be 1 to 128 characters.
- If you do not modify this parameter value, its original configuration remains.
HealthCheckRevokeRouteEnabled Boolean optional example value: true
Describe whether to enable health check convergence routing.
- true: Yes. The health check convergence routing feature only takes effect when health check is enabled on the IPsec-VPN connection. It only supports converging static routes, not BGP routes.
Response parameters
This API does not have specific response parameters. For more information, see Response structure. Request examples
GET /?Action=ModifyTransitRouterVpnAttachmentAttributes&Version=2020-04-01&TransitRouterAttachmentId=tr-attach-a******* HTTP/1.1
Host: transitrouter.cn-beijing.volcengineapi.com
X-Date: 20250804T034335Z
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20250804/cn-beijing/transitrouter/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f
Response examples
"RequestId": "20250804114338220223058010133478",
"Action": "ModifyTransitRouterVpnAttachmentAttributes",
"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: 2026.01.06 11:56:31