All Products
Search
Document Center

Virtual Private Cloud:RemoveCommonBandwidthPackageIp

Last Updated:Nov 13, 2024

Disassociates an EIP from an Internet Shared Bandwidth instance.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
vpc:RemoveCommonBandwidthPackageIpdelete
  • BandwidthPackage
    acs:vpc:{#regionId}:{#accountId}:combandwidthpackage/{#BandwidthPackageId}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The region ID of the Internet Shared Bandwidth instance.

You can call the DescribeRegions operation to query the most recent region list.

cn-hangzhou
BandwidthPackageIdstringYes

The ID of the Internet Shared Bandwidth instance.

cbwp-2ze2ic1xd2qeqk145****
IpInstanceIdstringYes

The EIP ID.

You can call the DescribeEipAddresses operation to query EIP IDs.

eip-2zeerraiwb7uj6i0d****
ClientTokenstringNo

The client token that is used to ensure the idempotence of the request.

You can use the client to generate the token, but you must make sure that the token is unique among different requests. The client token can contain only ASCII characters.

Note If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request.
123e4567-e89b-12d3-a456-426655440000

Response parameters

ParameterTypeDescriptionExample
object

The returned data.

RequestIdstring

The request ID.

54B48E3D-DF70-471B-AA93-08E683A1B45

Examples

Sample success responses

JSONformat

{
  "RequestId": "54B48E3D-DF70-471B-AA93-08E683A1B45"
}

Error codes

HTTP status codeError codeError messageDescription
400IpInstanceId.NotBandwidthPackageThe specified IpInstanceId does not in bandwidthPackage.-
400DependencyViolation.ipThe specified BandwidthPackageId has eip in it.-
400EIP_BIND_NATGATEWAYThe eip have bind natgateway.-
400IncorrectStatus.EipEip status error.-
400OperationFailed.SnatPoolIpMulti ip in snat pool cannot remove ip from bandwidth package.-
400DependencyViolation.RouteEntryvpc route table has route entry.-
400OperationFailed.DistibuteLockDistibute lock fail.The operation is locked by another request;
400Trade_Sync_Create_Sub_ERRORSyncOrderToSub error.-
400FAILED_INVOKE_INNER_APIFailed to invoke inner api.-
400InvalidIP.IpInSnatPoolMulti ip in snat pool cannot remove ip from bandwidth package.-
400InvalidInstanceId.NotFoundThe specified bandwidthPackageId does not exist in our records.-
400OperationUnsupported.IpNotInCbwpThe specified eip not exist in the commonBandwidthPackage.The EIP is not associated with the EIP bandwidth plan.
400InvalidIpInstanceId.MalformedThe specified IpInstanceId is invalid.-
400OperationUnsupported.EipBindRemoteEip bind remote ecs/slb, cannot remove it from bandwidthPackage.-
400InvalidBandwidthPackageId.NotFoundThe specified BandwidthPackageId not exist.-
400InvalidEIPStatus.BizDisabledThe EIP has been locked.The error message returned because the EIP is locked.
400Forbidden.FinancialLockedThe ip business status is invalid.The error message returned because the instance has overdue payments.
400OperationFailed.SystemBusyOperation failed because system is busy.The error message returned because the system is busy. Try again later.
404InvalidRegionId.NotFoundThe specified RegionId does not exist in our records.The specified region ID does not exist.
404InvalidBandwidthPackageId.NotFoundThe specified bandwidthPackageId does not exist in our records.The ID of the specified EIP bandwidth plan does not exist.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-06-26The Error code has changedView Change Details