All Products
Search
Document Center

DeleteAccount

Last Updated: May 29, 2020

Deletes a privileged database account for an AnalyticDB for MySQL cluster.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteAccount The operation that you want to perform. Set the value to

DeleteAccount.

DBClusterId String Yes rm-uf6wjk5xxxxxxxxxx The ID of the cluster whose privileged database account is to be deleted.
AccountName String Yes test_accout The name of the database account.

Response parameters

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

Examples

Sample requests

  1. http(s)://[Endpoint]/?Action=DeleteAccount
  2. &AccountName=testacc
  3. &DBClusterId=am-xxxxxxxxxxxxxxxxxxx
  4. &<Common request parameters>

Sample success responses

XML format

  1. <DeleteAccountResponse>
  2. <RequestId>2FED790E-FB61-4721-8C1C-07C627FA5A19</RequestId>
  3. </DeleteAccountResponse>

JSON format

  1. {
  2. "RequestId":"2FED790E-FB61-4721-8C1C-07C627FA5A19"
  3. }