Delete an account

Last Updated: Dec 21, 2017

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 Operation account requiring a uniqueness check. It may consist of lower case letters, numbers, and underlines (_), and must start with a letter and have no more than 16 characters. For other invalid characters, see Forbidden keywords table.

Return parameters

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

Example

  • Request example
  1. https://rds.aliyuncs.com/?Action=DeleteAccount
  2. &DBInstanceId=riaqu32iiaeiyeuya1370317952018
  3. &AccountName=wangyichengtest
  4. &<[Public Request Parameters]>
  • Return example

XML format:

  1. <DeleteAccountResponse>
  2. <RequestId>91E855E5-7E80-4955-929B-C74EE1D38C66</RequestId>
  3. </DeleteAccountResponse>

JSON format:

  1. {
  2. "RequestID":"91E855E5-7E80-4955-929B-C74EE1D38C66"
  3. }
Thank you! We've received your feedback.