Mereset kata sandi akun ApsaraDB for Redis (kompatibel dengan Tair).
Deskripsi operasi
Operasi ini hanya didukung untuk instans Redis yang menjalankan Redis 4.0 atau versi yang lebih baru.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:ResetAccountPassword |
update |
*DBInstance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID instans tempat akun berada. |
r-bp1zxszhcgatnx**** |
| AccountName |
string |
Yes |
Nama akun. Anda dapat memanggil operasi DescribeAccounts untuk mengkueri nama akun. |
demoaccount |
| AccountPassword |
string |
Yes |
Kata sandi baru. Panjang kata sandi harus 8 hingga 32 karakter dan berisi setidaknya tiga dari jenis karakter berikut: huruf besar, huruf kecil, digit, dan karakter khusus. Karakter khusus yang didukung adalah |
uWonno_221**** |
| 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. |
8BE02313-5395-4EBE-BAE7-E90A053F**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "8BE02313-5395-4EBE-BAE7-E90A053F****"
}
Respons error
JSONformat
{
"RequestId": "8BE02313-5395-4EBE-BAE7-E90A053F1E07"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidAccountName.Duplicate | Specified AccountName already exists in this instance. | |
| 400 | InvalidAccountName.Format | Specified AccountName is not valid. | |
| 400 | InvalidEngineVersion.Format | Current EngineVersion does not support operations. | |
| 400 | InvalidAccountPassword.Format | Specified AccountPassword is not valid. | |
| 400 | TaskExists | Specified task have existed. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.