You can call this operation to modify the name of the 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 ModifyInstanceName

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

ClusterId String Yes hb-bp16o0pd52e3****

The ID of the instance.

ClusterName String Yes hbase_test

The instance name that you want to change to.

RegionId String Yes cn-hangzhou

The ID of the region, for example, cn-hangzhou.

AccessKeyId String No LTAIfC*********

The AccessKey ID provided to you by Alibaba Cloud.

ClientToken String No ETnLKlblzczsh******

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 only contain ASCII characters and cannot exceed 64 characters in length.

ZoneId String No cn-hangzhou-b

The ID of the zone.

Response parameters

Parameter Type Example Description
RequestId String 65BDA532-28AF-4122-AA39-B382721EEE64

The ID of the request.

Examples

Sample requests


http(s)://[Endpoint]/? Action=ModifyInstanceName
&ClusterId=hb-bp16o0pd52e3y582s
&ClusterName=hbase_test
&RegionId=cn-hangzhou
&<Common request parameters>

Sample success responses

XML format

<RequestId>65BDA532-28AF-4122-AA39-B382721EEE64</RequestId>

JSON format

{
	 "RequestId":"65BDA532-28AF-4122-AA39-B382721EEE64"
}

Error codes

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