Creates a privileged account or a standard account for an ApsaraDB for ClickHouse cluster.
Operation description
Note
This operation is applicable only to ApsaraDB for ClickHouse clusters of V20.8 or later that were created after December 1, 2021,
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
DBClusterId | string | Yes | The cluster ID. | cc-bp1p816075e21**** |
AccountName | string | Yes | The name of the database account.
| test |
AccountPassword | string | Yes | The password of the database account.
| Test1234 |
AccountDescription | string | No | The description of the database account.
| |
AccountType | string | Yes | The type of the database account. Valid values:
| Super |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "F5178C10-1407-4987-9133-DE4DC9119F76"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | The DBClusterId provided does not exist in our records. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history