You can call this operation to delete a database account for an AnalyticDB for MySQL cluster.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DeleteAccount |
The operation that you want to perform. Set the value to DeleteAccount. |
AccountName | String | Yes | test_accout |
The account of the database. |
DBClusterId | String | Yes | rm-uf6wjk5xxxxxxxxxx |
The ID of the cluster. |
AccountType | String | No | Normal |
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 2FED790E-FB61-4721-8C1C-07C627FA5A19 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=DeleteAccount
&AccountName=test_accout
&DBClusterId=rm-uf6wjk5xxxxxxxxxx
&<Common request parameters>
Sample success responses
XML
format
<RequestId>2FED790E-FB61-4721-8C1C-07C627FA5A19</RequestId>
JSON
format
{
"RequestId":"2FED790E-FB61-4721-8C1C-07C627FA5A19"
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | The error message returned because the specified cluster ID does not exist. Check whether you specify the cluster ID value correctly. |
For a list of error codes, visit the API Error Center.