This topic describes how to lock or delete an account from an ApsaraDB RDS for PostgreSQL instance. If your RDS instance uses standard or enhanced SSDs, you can lock or delete an account by using the ApsaraDB RDS console or SQL statements. If your RDS instance uses local SSDs, you can only delete a standard account by using SQL statements.
Lock an account by using the ApsaraDB RDS console
Before you perform this operation, make sure that your RDS instance uses standard or enhanced SSDs.
Delete an account by using the ApsaraDB RDS console
Before you perform this operation, make sure that your RDS instance uses standard or enhanced SSDs.
- 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 message that appears, click OK.
Delete a standard account by using SQL statements
- If an account has permissions on databases, tables, or other objects, this operation only locks the account. Before you delete the account, you must revoke the permissions of the account.
- This operation is supported regardless of whether your RDS instance uses local, standard, or enhanced SSDs.
Related operations
Operation | Description |
---|---|
Delete database account | Deletes an account from an ApsaraDB RDS instance. |
Lock account | Locks an account on an ApsaraDB RDS instance. |
Unlock account | Unlocks an account on an ApsaraDB RDS instance. |