Invokes the UpdateBasicEndpoint operation to modify the name of an endpoint for a basic Alibaba Cloud Global Accelerator (GA) instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ga:UpdateBasicEndpoint |
update |
*BasicEndpoint
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of Global Accelerator. Set the value to cn-hangzhou. |
cn-hangzhou |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of a request. Generate a parameter value from your client to ensure that the value is unique among different requests. ClientToken supports only ASCII characters. Note
If you do not specify this parameter, the system automatically uses the RequestId of the API request as the ClientToken. The RequestId may be different for each API request. |
123e4567-e89b-12d3-a456-426655440000 |
| EndpointGroupId |
string |
Yes |
The ID of the endpoint group to which the endpoint of the basic Alibaba Cloud Global Accelerator (GA) instance belongs. |
epg-bp1dmlohjjz4kqaun**** |
| EndpointId |
string |
Yes |
The ID of the endpoint of the basic Alibaba Cloud Global Accelerator (GA) instance that you want to modify. |
ep-bp14sz7ftcwwjgrdm**** |
| Name |
string |
Yes |
The name of the endpoint for the basic Alibaba Cloud Global Accelerator (GA) instance. The name must be 1 to 128 characters in length and must start with a letter or a Chinese character. It can contain digits, periods (.), underscores (_), and hyphens (-). |
ep01 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
6FEA0CF3-D3B9-43E5-A304-D217037876A8 |
| EndpointGroupId |
string |
The ID of the endpoint group to which the endpoint of the basic Alibaba Cloud Global Accelerator (GA) instance belongs. |
epg-bp1dmlohjjz4kqaun**** |
| EndpointId |
string |
The ID of the endpoint for the basic Alibaba Cloud Global Accelerator (GA) instance. |
ep-bp14sz7ftcwwjgrdm**** |
| Name |
string |
The name of the endpoint for the basic Alibaba Cloud Global Accelerator (GA) instance. |
ep01 |
Examples
Success response
JSON format
{
"RequestId": "6FEA0CF3-D3B9-43E5-A304-D217037876A8",
"EndpointGroupId": "epg-bp1dmlohjjz4kqaun****",
"EndpointId": "ep-bp14sz7ftcwwjgrdm****",
"Name": "ep01"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NotExist.Accelerator | The accelerated instance does not exist. | The GA instance does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.