You can inactivate an account in QuickBooks Online (QBO) but you can't permanently delete them. This is designed to make sure existing transactions remains on your financial report for your books to remain accurate.
Here's how to inactivate an account when logging in to a browser:
Go to Accounting.
Select Chart of Accounts.
Find the account you want to delete.
Select the Action drop down and select Make inactive.