Deletes one or more data shards from an ApsaraDB for Redis cluster instance.

Before you call this operation, make sure that the instance meets the following requirements:

  • The instance is a persistent memory-optimized instance in the cluster architecture.
  • The number of data shards in the instance is greater than 1.


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 DeleteShardingNode

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

InstanceId String Yes r-bp1zxszhcgatnx****

The ID of the instance.

NodeId String Yes r-bp1zxszhcgatnx****-db-0,r-bp1zxszhcgatnx****-db-1

The ID of the data shard that you want to delete. You can specify multiple IDs. Separate multiple IDs with commas (,).

RegionId String No cn-hangzhou

The region ID of the instance.

Response parameters

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

The ID of the request.


Sample requests
&<Common request parameters>

Sample success responses

XML format


JSON format

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

Error codes

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