Docs
api
Basic Network(UNet)
DisassociateEIPWithShareBandwidth

Remove EIP from Shared Bandwidth - DisassociateEIPWithShareBandwidth

Overview

Remove EIP from Shared Bandwidth

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is DisassociateEIPWithShareBandwidth.Yes
PublicKeystringThe user’s public key can be obtained from ConsoleYes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
RegionstringRegion. See List of Regions and Availability ZonesYes
ProjectIdstringProject ID. If not filled in, the default project is used, and the sub-account must be filled in. Please refer to the GetProjectList interface.No
ShareBandwidthIdstringShared Bandwidth IDYes
BandwidthintAfter being removed from the shared bandwidth, the external bandwidth of EIP, in Mbps. The bandwidth range in each region is as follows: Traffic billing [1-200], Bandwidth billing [1-800].Yes
EIPIds.NstringEIP’s resource Id; by default, remove all EIPs under this shared bandwidthNo
PayModestringAfter being removed from the shared bandwidth, the billing mode of EIP. Enumeration values: “Traffic”, traffic billing; “Bandwidth”, bandwidth billing; default is “Bandwidth”.No
IPVersionstringShared bandwidth type, IPv4 or IPv6, defaults to IPv4 if not passed.No

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No

Example

Request Example

https://api.dezai.com/?Action=DisassociateEIPWithShareBandwidth
&Region=cn-bj2
&EIPIds.0=eip-XXXXX
&ShareBandwidthId=bwshare-XXXX
&Bandwidth=2
&IPVersion=nHjcpyjh

Response Example

{
  "Action": "DisassociateEIPWithShareBandwidthResponse",
  "Request_uuid": "f46ae8ae-84a3-4736-b49b-XXXXX",
  "RetCode": 0
}