Deletes an advertised BGP network.

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 DeleteBgpNetwork

The name of this action. Value:

DeleteBgpNetwork

dstCidrBlock String Yes 10.110.192.12/32

The advertised BGP network.

RegionId String Yes cn-hangzhou

The region to which the BGP network belongs.

To query the region ID, call DescribeRegions.

routeId String Yes vrt-bp1lhl0taikrteen80oxx

The ID of the VBR.

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 22F4C006-D3BB-4F96-9FF9-4C8335276D70 The ID of the request.

Examples

Request example


https://vpc.aliyuncs.com/?Action=DeleteBgpNetwork
&DstCidrBlock=10.110.192.12/32
&RegionId=cn-hangzhou
&RouterId=vrt-bp1lhl0taikrteen80oxx
&<CommonParameters>
Response example
  • XML format

    <DeleteBgpNetworkResponse>
      <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>
    </DeleteBgpNetworkResponse>
    
  • 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 NQA 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 operation.

See common error codes