edit-icon download-icon


Last Updated: Apr 09, 2018


Delete a BGP peer.

Request parameters

Name Type Required Description
Action String Yes

The action to perform.

Valid value: DeleteBgpPeer

RegionId String Yes

The region of the BGP group.

You can obtain the region ID by calling the DescribeRegions API.

BgpPeerId String Yes The ID of the BGP peer.
PeerASNIntegerNoThe ASN of the customer-side network.
NameStringNoThe name of the BGP group.
DescriptionStringNoThe description of the BGP group.

Response parameters

Name Type Required
RequestId String The ID of the request.

Error codes

See VPC API Error Center.


Request example

  1. https://vpc.aliyuncs.com/?Action=DeleteBgpPeer
  2. &RegionId=cn-beijing
  3. &BgpPeerId=bgp-2zenof4u02mhxh890u3vd
  4. &<CommonParameters>

Response example

XML format

  1. <DeleteBgpPeerResponse>
  2. <RequestId>AEBB1EB6-3C15-4A35-B4CE-03485200C143</RequestId>
  3. </DeleteBgpPeerResponse>

JSON format

  1. {
  2. "RequestId": "AEBB1EB6-3C15-4A35-B4CE-03485200C143"
  3. }
Thank you! We've received your feedback.