All Products
Search
Document Center

IPv6 Gateway:ModifyIpv6InternetBandwidth

Last Updated:Jul 07, 2026

Modifies the Internet bandwidth of an IPv6 address.

Operation description

The ModifyIpv6InternetBandwidth operation does not support concurrent modifications to the same IPv6 Internet bandwidth.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

vpc:ModifyIpv6InternetBandwidth

update

*Ipv6InternetBandwidth

acs:vpc:{#regionId}:{#accountId}:ipv6bandwidth/{#Ipv6InternetBandwidthId}

None None

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

Yes

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

cn-huhehaote

Ipv6AddressId

string

No

The ID of the IPv6 address.

Note

You must specify either Ipv6AddressId or Ipv6InternetBandwidthId.

ipv6-2zen5j4axcp5l5qyy****

Ipv6InternetBandwidthId

string

No

The Internet bandwidth instance ID of the IPv6 address.

ipv6bw-uf6hcyzu65v98v3du****

Bandwidth

integer

Yes

The Internet bandwidth of the IPv6 address. Unit: Mbit/s.

  • If the billing method is pay-by-data-transfer, the Internet bandwidth value range is 1 to 1000.

  • If the billing method is pay-by-bandwidth, the Internet bandwidth value range is 1 to 2000.

200

ClientToken

string

No

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

Generate a parameter value from your client to ensure uniqueness across different requests. ClientToken supports only ASCII characters.

Note

If you do not specify this parameter, the system uses the RequestId of the API request as the ClientToken. The RequestId of each API request is different.

123e4567-e89b-12d3-a456-426655440000

RegionId

string

Yes

Specifies whether to perform a dry run. Valid values:

  • true: performs a dry run without creating an IPv4 gateway. The system checks the required parameters, request format, and service limits. If the check fails, the corresponding error is returned. If the check succeeds, the DryRunOperation error code is returned.

  • false (default): performs a dry run and then sends the request. If the check succeeds, an HTTP 2xx status code is returned and the IPv4 gateway is created.

cn-huhehaote

DryRun

boolean

No

Specifies whether to perform a dry run. Valid values:

  • true: performs a dry run without creating an IPv4 gateway. The system checks the required parameters, request format, and service limits. If the check fails, the corresponding error is returned. If the check succeeds, the error code DryRunOperation is returned.

  • false (default): performs a dry run and then sends the request. If the check succeeds, an HTTP 2xx status code is returned and the IPv4 gateway is created.

false

ClientToken

string

No

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

Generate a parameter value from your client to ensure uniqueness across different requests. ClientToken supports only ASCII characters.

Note

If you do not specify this parameter, the system uses the RequestId of the API request as the ClientToken. The RequestId of each API request is different.

123e4567-e89b-12d3-a456-426655440000

Response elements

Element

Type

Description

Example

object

The request ID.

RequestId

string

The request ID.

D560AF68-4CE8-4A5C-B3FE-469F558094D0

Examples

Success response

JSON format

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

Error codes

HTTP status code

Error code

Error message

Description

400 MissingParam.Ipv6InstanceId The param of Ipv6InstanceId is missing. The error message returned because Ipv6InstanceId is not set.
400 InvalidIpv6Instance.NotFound The specified Ipv6AddressId or Ipv6InternetBandwidthId is not found.
400 IllegalParam.Bandwidth The param of bandwidth is illegal. The Bandwidth parameter is set to an invalid value.
400 OperationUnsupported.FinancialLocked The operation is forbidden because of financialLocked. The error message returned because the resource is locked due to overdue payments and the operation is denied.
400 OperationFailed.InternetBandwidthNonExist The operation is forbidden because of InternetBandwidthNonExist. The error message returned because the specified bandwidth is invalid and the operation is denied.
400 OperationFailed.InternetBandwidthUnstable The operation is forbidden because of InternetBandwidthUnstable. The operation is prohibited because the bandwidth instance is not in a stable state.
400 OperationFailed.BandwidthExceedLimit The operation is forbidden because of BandwidthExceedLimit. The error message returned because the specified bandwidth exceeds the upper limit and the operation is denied.
400 ParamExclusive.Ipv6AddressIdAndIpv6InternetBandwidthId Ipv6AddressId and Ipv6InternetBandwidthId is mutually exclusive. The error message returned because Ipv6AddressId and Ipv6InternetBandwidthId are not set for the same instance.
500 OperationFailed.QueryAccountInfo Query account info failed when create order. Failed to query the account information when the order is placed.
404 InvalidIpv6Instance.NotFound The specified Ipv6AddressId or Ipv6InternetBandwidthId is not found. The error message returned because Ipv6AddressId or Ipv6InternetBandwidthId is not set.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.