UpdateEndpoint
Call the UpdateEndpoint operation to modify an endpoint in the ES Serverless platform.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
es-serverless:UpdateEndpoint |
update |
*All Resource
|
None | None |
Request syntax
PUT /openapi/es-serverless/endpoints/{endpointId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| endpointId |
string |
Yes |
The endpoint ID. |
ep-bp1i98bcbb1540d0**** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
Body parameters. |
|
| endpointZones |
array<object> |
Yes |
List of zones. |
|
|
object |
No |
A zone for the endpoint. |
||
| zoneId |
string |
No |
The zone ID where the endpoint is located. |
cn-hangzhou-h |
| vSwitchId |
string |
No |
The vSwitch ID where the endpoint is located. |
vsw-bp18r8uwnukv3rvi9**** |
| name |
string |
No |
The updated endpoint name. |
test |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Request result. |
||
| requestId |
string |
The request ID. |
FBAD8493-87FA-583E-8A4C-D487F2DE90FC |
| result |
object |
Response result. |
|
| endpointId |
string |
The endpoint ID. |
ep-bp1i98bcbb1540d0**** |
Examples
Success response
JSON format
{
"requestId": "FBAD8493-87FA-583E-8A4C-D487F2DE90FC",
"result": {
"endpointId": "ep-bp1i98bcbb1540d0****\n"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.