Modifies the Internet bandwidth value of an IPv6 CIDR block.

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

Parameter Type Required Example Description
RegionId String Yes cn-huhehaote

The region ID of the IPv6 gateway. You can call the DescribeRegions operation to query the most recent region list.

Ipv6AddressId String No ipv6bw-uf6hcyzu65v98v3du****

The ID of the IPv6 CIDR block.

Ipv6InternetBandwidthId String No ipv6bw-uf6hcyzu65v98v3du****

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

Bandwidth Long Yes 4

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

  • If InternetChargeType is set to PayByBandwidth, valid values are 1 to 5000.
  • If InternetChargeType is set to PayByTraffic, valid values vary based on the specification of the IPv6 gateway.
    • Small (default) specifies Free Edition and the valid values are 1 to 500.
    • Medium specifies Enterprise Edition and the valid values are 1 to 1000.
    • Large specifies Enterprise Enhanced Edition and the valid values are 1 to 2000.
ClientToken String No 123e4567-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 make sure that it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.

Note If you do not set this parameter, the system automatically uses RequestId as ClientToken. RequestId may be different for each API request.
Action String Yes ModifyIpv6InternetBandwidth

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

Response parameters

Parameter Type Example Description
RequestId String D560AF68-4CE8-4A5C-B3FE-469F558094D0

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=ModifyIpv6InternetBandwidth
&Bandwidth=4
&RegionId=cn-huhehaote
&<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

HttpCode Error code Error message Description
404 InvalidRegionId.NotFound The 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, visit the API Error Center.