Mengubah kata sandi akun dalam kluster PolarDB Basis Data Relasional Cloud-Native untuk Xscale.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:ModifyAccountPasswordZonal |
update |
*全部资源
|
None | None |
Sintaks permintaan
POST HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
ID kluster. |
pc-************** |
| AccountName |
string |
Yes |
Nama akun. |
testacc |
| NewAccountPassword |
string |
Yes |
Kata sandi baru untuk akun. Kata sandi harus memenuhi persyaratan berikut:
|
Pw123456 |
| PasswordType |
string |
No |
Tipe kata sandi. |
Tair |
| ClientToken |
string |
No |
Token yang dihasilkan klien dan bersifat case-sensitive yang dapat Anda gunakan untuk memastikan idempotensi permintaan. Token harus unik di antara permintaan yang berbeda dan panjangnya maksimal 64 karakter ASCII. |
6000170000591aed949d0f5******************** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
925B84D9-CA72-432C-95CF-738C22****** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "925B84D9-CA72-432C-95CF-738C22******"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | EngineMigration.ActionDisabled | Specified action is disabled while custins is in engine migration. | |
| 400 | LockTimeout | The request processing has failed due to lock timeout. | |
| 400 | InvalidAccountPassword.Malformed | The specified parameter AccountPassword is not valid. | |
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | |
| 404 | InvalidDBClusterId.Malformed | The specified parameter DBClusterId is not valid. | |
| 404 | InvalidDBClusterId.NotFound | The DBInstanceId provided does not exist in our records. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.