Updates the status of an endpoint.


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 UpdateInstanceEndpointStatus

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

Enable Boolean Yes false

Specifies whether the endpoint is enabled.

EndpointType String Yes internet

The type of the endpoint. Set the value to Internet.

InstanceId String Yes cri-kmsiwlxxdcvaduwb

The ID of the instance.

RegionId String Yes cn-shanghai

The ID of the region.

ModuleName String No Chart

The name of the module in the instance.

Response parameters

Parameter Type Example Description
IsSuccess Boolean true

Indicates whether the operation is successful.

Code String success

The return value.

RequestId String 2FC14396-A16A-42BA-AAE4-BB94D956DF09

The ID of the request.


Sample requests

http(s)://[Endpoint]/? Action=UpdateInstanceEndpointStatus
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

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