Modifies the Internet bandwidth value of an IPv6 CIDR block.

Description

You cannot call the ModifyIpv6InternetBandwidth operation to modify the Internet bandwidth value of an IPv6 CIDR block at the same time.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

ParameterTypeRequiredExampleDescription
RegionIdStringYescn-huhehaote

The ID of the region where the IPv6 gateway is deployed. You can call the DescribeRegions operation to obtain the region ID.

Ipv6AddressIdStringNoipv6-2zen5j4axcp5l5qyy****

The ID of the IPv6 address.

Note You must set one of the Ipv6AddressId and Ipv6InternetBandwidthId parameters.
Ipv6InternetBandwidthIdStringNoipv6bw-uf6hcyzu65v98v3du****

The ID of the Internet bandwidth that you purchase for the IPv6 CIDR block.

Note You must set one of the Ipv6AddressId and Ipv6InternetBandwidthId parameters.
BandwidthLongYes4

The Internet bandwidth for the IPv6 CIDR block. Valid values: 1 to 5000. Unit: Mbit/s.

ClientTokenStringNo123e4567-e89b-12d3-a456-426655440000

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

You can use the client to generate the value, but you must ensure that the value is unique among all requests. ClientToken can contain only ASCII characters.

Note If you do not set this parameter, ClientToken is set to the value of RequestId. The value of RequestId may be different for each API request.
ActionStringYesModifyIpv6InternetBandwidth

The operation that you want to perform. Set the value to ModifyIpv6InternetBandwidth.

Response parameters

ParameterTypeExampleDescription
RequestIdStringD560AF68-4CE8-4A5C-B3FE-469F558094D0

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?RegionId=cn-huhehaote
&Ipv6AddressId=ipv6-2zen5j4axcp5l5qyy****
&Ipv6InternetBandwidthId=ipv6bw-uf6hcyzu65v98v3du****
&Bandwidth=4
&ClientToken=123e4567-e89b-12d3-a456-426655440000
&Action=ModifyIpv6InternetBandwidth
&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<ModifyIpv6InternetBandwidthResponse>
    <RequestId>D560AF68-4CE8-4A5C-B3FE-469F558094D0</RequestId>
</ModifyIpv6InternetBandwidthResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "D560AF68-4CE8-4A5C-B3FE-469F558094D0"
}

Error codes

HTTP status codeError codeError messageDescription
404InvalidRegionId.NotFoundThe specified RegionId does not exist in our records.The error message returned because the specified region ID does not exist.

For a list of error codes, see Service error codes.