Deletes a BGP group.

Debug

By using API Explorer, you can easily debug APIs, automatically generate SDK code examples, and quickly search for APIs.

Request parameters

Parameter Type Required? Example value Description
Action String Yes DeleteBgpGroup

The name of this action. Value:

DeleteBgpGroup

BgpGroupId String Yes bgpg-wz9f62v4fbg2gxxxxxxxx

The ID of the BGP group.

RegionId String Yes cn-shanghai

The region to which the BGP group belongs.

To query the region ID, call DescribeRegions.

ClientToken String No 02fb3da4-130e-11e9-8e44-0016e04115b

The client token that guarantees the idempotence of the request.

This parameter value is generated by the client and must be unique. It must be 1 to 64 ASCII characters in length.

Response parameters

Parameter Type Example value Description
RequestId String 97E2E97F-968C-48AF-A310-AC4D068854DB The ID of the request.

Examples

Request example


https://vpc.aliyuncs.com/?Action=DeleteBgpGroup
&BgpGroupId=bgpg-wz9f62v4fbg2gxxxxxxxx
&RegionId=cn-shanghai
&<CommonParameters>
Response example
  • XML format

    <DeleteBgpGroupResponse>
      <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>
    </DeleteBgpGroupResponse>
    
  • JSON format

     {
    	"RequestId":"0ED8D006-F706-4D23-88ED-E11ED28DCAC0"
    }

Error codes

HTTP status code Error code Error message Description
404 InvalidRegionId.NotFound Specified value of "regionId" is not supported. The specified region ID does not exist.
400 QuotaExceeded.Bgp bgp peer count per vbr quota exceed. The BGP group quota of the VBR has been reached.
400 QuotaExceeded.Nqa nqa count per vbr quota exceed. The BGP group quota of the VBR has been reached.
400 QuotaExceeded.BgpNetwork bgp network count per vbr quota exceed. The BGP network quota of the VBR has been reached.
400 InvalidPeerIpAddress multi pconn peer ip can not be null. The peer IP address of multiple physical connections cannot be null.
400 InvalidVbrNetwork vbr netowrk not exists The specified VBR does not exist.
400 InvalidBgpGroup bgp group not exists The specified BGP group does not exist.
400 InvalidBgpName.Malformed Specified Bgp Group name is not valid. The name of the BGP group is invalid.
400 InvalidBgpDiscription.Malformed Specified Bgp Group description is not valid. The description of the BGP group is invalid.
400 InvalidBgpAuthkey.Malformed Specified Bgp Group authkey is not valid. The authentication key of the BGP group is invalid.
400 InvalidIP.Malformed Ip malformed. The IP address format is invalid.
400 InvalidPeerAsn.Malformed invalid peer asn cannot equals aliyun asn:45104 The specified ASN cannot be the same as the Alibaba Cloud ASN.
400 InvalidParams.NotNull invalid peer asn cannot equals aliyun asn:45104 The specified ASN cannot be the same as the Alibaba Cloud ASN.
400 InvalidParams.NotFound vpc instance not found The specified VPC does not exist.
400 InvalidParams.AlreadyExists bgp network already exists The specified BGP network already exists.
400 InvalidStatus.CannotOperate invalid status cannot operate The status of the resource does not permit this action.

See common error codes