Use this operation to reset the password for the administrator account of a database. For enhanced security, change your password regularly.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
swas-open:ResetDatabaseAccountPassword |
update |
*Instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the lightweight database instance. You can call the ListRegions operation to query the supported Alibaba Cloud regions. |
cn-hangzhou |
| DatabaseInstanceId |
string |
Yes |
The ID of the lightweight database instance. |
db-38263fa955774501a2ae1bdaed6f**** |
| AccountPassword |
string |
Yes |
The new password for the administrator account. |
Password**** |
| ClientToken |
string |
No |
A client-generated token that ensures the idempotence of the request. The token must be unique for each request, contain only ASCII characters, and not exceed 64 characters in length. For more information, see How to ensure idempotence. |
123e4567-e89b-12d3-a456-426655440000 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. |
30637AD6-D977-4833-A54C-CC89483E**** |
Examples
Success response
JSON format
{
"RequestId": "30637AD6-D977-4833-A54C-CC89483E****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.