Modifies a specified basic Global Accelerator (GA) instance.

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
Action String Yes UpdateBasicAccelerator

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

RegionId String No cn-hangzhou

The ID of the region where the basic GA instance is deployed. Set the value to cn-hangzhou.

ClientToken String No 123e4567****

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.
Name String No BasicAccelerator

The name of the basic GA instance.

The name must be 2 to 128 characters in length and can contain digits, underscores (_), and hyphens (-). It must start with a letter.

Description String No BasicAccelerator

The description of the basic GA instance.

AcceleratorId String Yes ga-bp17frjjh0udz4qz****

The ID of the basic GA instance.

Response parameters

Parameter Type Example Description
RequestId String F591955F-5CB5-4CCE-A75D-17CF2085CE22

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=UpdateBasicAccelerator
&RegionId=cn-hangzhou
&ClientToken=123e4567****
&Name=BasicAccelerator
&Description=BasicAccelerator
&AcceleratorId=ga-bp17frjjh0udz4qz****
&Common request parameters

Sample success responses

XML format

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

<UpdateBasicAcceleratorResponse>
    <RequestId>F591955F-5CB5-4CCE-A75D-17CF2085CE22</RequestId>
</UpdateBasicAcceleratorResponse>

JSON format

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

{
  "RequestId" : "F591955F-5CB5-4CCE-A75D-17CF2085CE22"
}

Error codes

For a list of error codes, visit the API Error Center.