Description

Directly delete database accounts. The instance status must be Running.

Request parameters

Name Type Required? Description
Action String Yes Required parameter. Value: DeleteAccount.
DBInstanceId String Yes Instance ID.
AccountName String Yes Account name, which must be unique and meet the following requirements:
  • Start with a letter;
  • Consist of lower-case letters, digits, and underscores (_);
  • Contain no more than 16 characters.
  • For invalid characters, see Forbidden keywords table

Return parameters

Name Type Description
Public Return Parameters - For more information, see Public parameters.

Request example

https://rds.aliyuncs.com/?Action=DeleteAccount
&DBInstanceId=riaqu32iiaeiyeuya1370317952018
&AccountName=wangyichengtest
&<[Public Request Parameters]>

Response example

XML format

<DeleteAccountResponse>
         <RequestId>91E855E5-7E80-4955-929B-C74EE1D38C66</RequestId>
</DeleteAccountResponse>

JSON format

{
      "RequestID":"91E855E5-7E80-4955-929B-C74EE1D38C66"
  }