Menghapus akun dari instans Tair (kompatibel dengan Redis OSS).
Deskripsi operasi
Operasi ini hanya didukung untuk instans yang kompatibel dengan Redis 4.0 atau versi yang lebih baru.
Instans harus berada dalam status Running.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:DeleteAccount |
delete |
*DBInstance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID instans. |
r-bp1zxszhcgatnx**** |
| AccountName |
string |
Yes |
Username akun. Anda dapat memanggil operasi DescribeAccounts untuk menanyakan username akun tersebut. |
demoaccount |
| SourceBiz |
string |
No |
Parameter ini hanya digunakan untuk maintenance internal. Anda tidak perlu menentukan parameter ini. |
SDK |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
8129F11A-D70B-43A6-9455-CE9EAA71**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "8129F11A-D70B-43A6-9455-CE9EAA71****"
}
Respons error
JSONformat
{
"RequestId":"8129F11A-D70B-43A6-9455-CE9EAA71F095"
}
Kode kesalahan
|
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. | |
| 403 | OperationDenied.AccountStatus | The operation is not permitted due to status of account. | |
| 404 | InvalidAccountName.NotFound | Specified AccountName does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.