I'm here with all the information you could ever need on deleting a connected account in QuickBooks Online.
When you connect an account to online banking, QuickBooks automatically downloads your recent transactions. Instead of deleting it, I would suggest disconnecting the account. With this, QuickBooks deletes transactions that still need to be categorised in the For Review tab.
To disconnect an account:
Go to the Banking menu or Transactions menu and select the Banking tab.
Choose the bank account.
Click the pencil ✎ icon, then select Edit account info.
Select the Disconnect this account on save checkbox.