You can call this operation to create a privileged database account for a cluster.

Request parameters

Parameter Type Required Description
Action String Yes The operation that you want to perform. Set the value to CreateAccount.
DBClusterId String Yes The ID of the cluster.
AccountName String Yes The name of the account. The name must comply with the following rules:
  • It can contain lowercase letters, digits, and underscores (_) and must start with a lowercase letter.
  • It can be up to 16 characters in length.
AccountPassword String Yes The password for the account. The password must comply with the following rules:
  • It must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include ! # $ % ^ & * () _ + - = ) ;
  • It must be 8 to 32 characters in length.
AccountDescription String No The description of the account. The description must meet the following requirements:
  • It cannot start with http:// or https://.
  • It must be 0 to 256 characters in length.

Response parameters

Parameter Type Description
<Common response parameters> - For more information, see Common parameters.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format