Mengatur ulang kata sandi akun root di instans Database Apsara for MongoDB.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:ResetAccountPassword |
update |
*Instance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
ID instans. |
dds-bpxxxxxxxx |
| AccountName |
string |
Yes |
Akun yang kata sandinya perlu diatur ulang. Atur nilai menjadi root. |
root |
| AccountPassword |
string |
Yes |
Kata sandi baru.
|
Ali!123456 |
| CharacterType |
string |
No |
Peran instans.
|
db |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
06CBD06E-ABC9-4121-AB93-3C3820B3E7E6 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "06CBD06E-ABC9-4121-AB93-3C3820B3E7E6"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidAccountPassword.Malformed | Specified parameter AccountPassword is not valid. | |
| 400 | InvalidAccountName.NotFound | The AccountName provided does not exist in our records. | |
| 400 | InvalidAccountName.Malformed | The specified parameter AccountName is not valid. | |
| 403 | OperationDenied.AccountStatus | The operation is not permitted due to status of account. | |
| 403 | OperationDenied.AccountType | The operation is not permitted due to type of account. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.