Greetings, @ciapsel.
Welcome, and thank you for coming to the Community for help. I'll be guiding you on how you can delete the account lines that are associated with old online banking accounts. In QuickBooks Online, you can delete accounts that are no longer in use. Deleting accounts doesn’t erase their transactions, so your reports won’t change. However, the accounts will be listed as "Deleted". You can also restore deleted accounts any time.
If there are no transactions on the register, then you can merge the account into another instead. Because there are no transactions on the register, it won't have a negative impact on the account it's merged into. Down below, you will find steps for how to delete an account, and how to merge one account into another:
Delete an account:
For more information on deleting and restoring accounts, see: How to delete an account and restore it.
Merge Accounts:
Also, if you'd like to see more on merging accounts, take a look at this article here: How to merge accounts, customers, and vendors.
Once completed, the account lines will no longer appear on your Chart of Accounts. Be sure to let me know if you have any questions about this information. I'll be here in the Community if you need me.