Deletes an account of an ApsaraDB for Redis instance.

  • Only ApsaraDB for Redis instances of Redis 4.0 or later are supported.
  • The ApsaraDB for Redis instance must be in the running state.


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 DeleteAccount

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

AccountName String Yes demoaccount

The name of the account. You can call the DescribeAccounts operation to obtain the name of the account.

InstanceId String Yes r-bp1zxszhcgatnx****

The ID of the instance.

RegionId String No cn-hangzhou

The region ID of the instance.

Response parameters

Parameter Type Example Description
RequestId String 8129F11A-D70B-43A6-9455-CE9EAA71****

The ID of the request.


Sample requests
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

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