Resets the password of a database account for an AnalyticDB for PostgreSQL instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
gpdb:ResetAccountPassword |
update |
*DBInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
Before you call this operation, make sure that the following requirements are met:
|
gp-t4nf48vf15713**** |
| AccountName |
string |
Yes |
The ID of the instance. |
testaccount_1 |
| AccountPassword |
string |
Yes |
The name of the account. |
Testaccount_1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The new password for the account. The password must be 8 to 32 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include |
187C80FC-75C4-477C-BBF2-A368A36D041C |
Examples
Success response
JSON format
{
"RequestId": "187C80FC-75C4-477C-BBF2-A368A36D041C"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.