You can delete standard accounts, privileged accounts, and SA-privileged accounts from an ApsaraDB RDS for SQL Server instance in the ApsaraDB RDS console or by calling an API operation.
Account permission rules
Privileged account management rules
Operation scenario | Permission behavior |
Create a privileged account | When you create the account, it is automatically granted the db_owner role for all existing databases. You do not need to grant permissions manually. |
Add a database |
|
| |
Recreate a privileged account |
|
Standard account management rules
Operation scenario | Permission behavior |
Create a standard account |
|
Add a database |
|
| |
Recreate a standard account with the same name |
|
Procedure
Go to the Instances page. In the top navigation bar, select the region in which the RDS instance resides. Then, find the RDS instance and click the ID of the instance.
In the left-side navigation pane, click Accounts.
Find the account that you want to delete, and click Delete in the Actions column.
In the dialog box that appears, click OK.
References
Delete a database account by calling the DeleteAccount API operation.
Use the command line to manage LOGIN users and manage USER users.

