Deletes an account from a Tair (Redis OSS-compatible) instance.
Operation description
-
Supported only on instances compatible with Redis 4.0 or later.
-
The instance must be in the Running state.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:DeleteAccount |
delete |
*DBInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
r-bp1zxszhcgatnx**** |
| AccountName |
string |
Yes |
The account username. Call DescribeAccounts to query account usernames. |
demoaccount |
| SourceBiz |
string |
No |
Internal use only. Do not specify this parameter. |
SDK |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
8129F11A-D70B-43A6-9455-CE9EAA71**** |
Examples
Success response
JSON format
{
"RequestId": "8129F11A-D70B-43A6-9455-CE9EAA71****"
}
Error response
JSON format
{
"RequestId":"8129F11A-D70B-43A6-9455-CE9EAA71F095"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidAccountName.Format | Specified AccountName is not valid. | |
| 400 | InvalidEngineVersion.Format | Current EngineVersion does not support operations. | This engine version does not support this operation. |
| 403 | OperationDenied.AccountStatus | The operation is not permitted due to status of account. | The current account state does not allow this operation. |
| 404 | InvalidAccountName.NotFound | Specified AccountName does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.