- Documentation
Direct Connect
API Reference
BGP Peer
ModifyBgpPeerAttributes - Modifying a BGP Peer
BGP Peer
ModifyBgpPeerAttributes - Modifying a BGP Peer
ModifyBgpPeerAttributes - Modifying a BGP Peer
Call ModifyBgpPeerAttributes to modify the information of a specified BGP Peer.
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: ModifyBgpPeerAttributes
The interface name. The current API name is ModifyBgpPeerAttributes.
Version String required Example: 2020-04-01
The interface version. The current API version is 2020-04-01.
BgpPeerId String required Example: bgp-2752hz4teko3k7f4c****
ID of the BGP Peer to be modified. You can call DescribeBgpPeers to query the BGP Peer ID. BgpPeerName String optional Example: test
Name of the BGP Peer.
- Must start with a Chinese character, letter, or number. May include Chinese characters, letters, numbers, periods (.), underscores (_), and hyphens (-).
- Must be 1 to 128 characters.
- If you do not modify this parameter, its original configuration remains. That is, do not modify the name of the BGP Peer.
Description String optional Example: This is a sample description
Description of the BGP Peer.
- Must start with a Chinese character, letter, or number. May include Chinese characters, letters, numbers, periods (.), spaces ( ), underscores (_), hyphens (-), equals signs (=), commas (,), Chinese commas (,), and Chinese periods (。).
- Must be 0 to 255 characters.
- If you do not modify this parameter, its original configuration remains. That is, do not modify the description of the BGP Peer.
Response parameters
This API does not have specific response parameters. For more information, see Response structure. Request examples
GET /?Action=ModifyBgpPeerAttributes&Version=2020-04-01&BgpPeerId=bgp-2752hz4teko3k7f4c****&BgpPeerName=test&Description=test HTTP/1.1
Host: directconnect.cn-beijing.volcengineapi.com
X-Date: 20251121T094038Z
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20251121/cn-beijing/directconnect/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f
Response examples
"RequestId": "202111161611080102121461940900****",
"Action": "ModifyBgpPeerAttributes",
"Version": "2020-04-01",
"Service": "directconnect",
"RequestId": "202111161611080102121461940900****"
Error codes
The table below describes the error codes for this API that are associated with business logic. For details, see Common error codes.
Last updated: 2026.03.06 15:29:55