Adds an EIP to an EIP bandwidth plan instance.

Note the following before you call this action:

  • Only Pay-As-You-Go EIPs can be added.
  • The EIP and the EIP bandwidth plan instance must be in the same region.


Use API Explorer to perform debug operation and generate code examples.

Request parameters

Parameter Type Required? Example value Description
Action String Yes AddCommonBandwidthPackageIp

The name of this action. Value: AddCommonBandwidthPackageIp.

BandwidthPackageId String Yes cbwp-2ze2ic1xd2qeqxxxxxxxx

The ID of the EIP bandwidth plan instance.

IpInstanceId String Yes eip-2zeerraiwb7uxxxxxxxx

The ID of the EIP instance.

To query the ID of the EIP instance, call DescribeEipAddresses.

RegionId String Yes cn-hangzhou

The ID of the region where the EIP bandwidth plan instance is located.

To query the region ID, call DescribeRegions.

Response parameters

Parameter Type Example value Description
RequestId String EC0A01C5-62E2-4E50-B558-CDAA09094B96

The ID of the request.


Request example

Response example

XML format


JSON format

	"RequestId": "01FDDD49-C4B7-4D2A-A8E5-A93915C450A6"

Error codes

HTTP status code Error code Error message Description
404 InvalidRegionId.NotFound The specified RegionId does not exist in our records. The specified region ID does not exist.
404 InvalidBandwidthPackageId.NotFound The specified bandwidthPackageId does not exist in our records. The specified EIP bandwidth plan does not exist.

See common error codes