Menghapus akun dari instance ApsaraDB for Tair (kompatibel dengan Redis OSS).
Deskripsi operasi
API ini hanya didukung oleh instance yang kompatibel dengan Redis 4.0 atau lebih baru.
Anda hanya dapat memanggil API ini ketika instance 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 instance. |
r-bp1zxszhcgatnx**** |
| AccountName |
string |
Yes |
Nama akun. Anda dapat memanggil operasi DescribeAccounts untuk mengkueri nama akun. |
demoaccount |
| SourceBiz |
string |
No |
Parameter ini hanya digunakan untuk pemeliharaan 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.