Removes a child instance from the distributed instance and changes it to a regular ApsaraDB for Redis instance.

Note After you call the opration, the child instance becomes a regular ApsaraDB for Redis instance and all its data is retained. You can find the instance in the instance list of the corresponding region and manage it.

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 RemoveSubInstance

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

InstanceId String Yes r-bp1zxszhcgatnx****

The ID of the child instance in the distributed instance. You can call the DescribeGlobalDistributeCache operation to obtain the ID of the child instance.

Response parameters

Parameter Type Example Description
RequestId String 5D622714-AEDD-4609-9167-F5DDD3D1****

The ID of the request.

Examples

Sample requests

http(s)://r-kvstore.aliyuncs.com/?Action=RemoveSubInstance
&InstanceId=r-bp1zxszhcgatnx****
&<Common request parameters>

Sample success responses

XML format

<RemoveSubInstanceResponse>
	  <RequestId>5D622714-AEDD-4609-9167-F5DDD3D1****</RequestId>
</RemoveSubInstanceResponse>

JSON format

{
	"RequestId": "5D622714-AEDD-4609-9167-F5DDD3D1****"
}

Error codes

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