With the current DB changes I decided to move to another solution and uninstalled DB. However after removing DB, I cannot remove the Dropbox folder under CloudStorage. There is no option to move to trash. How can I remove this folder?
I should add that I have not seen any instructions on the web (including Dropbox) about how to fully uninstall Dropbox when it is using the "file provider" framework with your files stored in ~/Library/CloudStorage/Dropbox.
I uninstalled using AppCleaner which removed pretty much everything. Then I removed the remaining bits left in ~/Library. Then I removed what Dropbox leaves in /Library. And finally, I solved this as you suggested using the command line with sudo rm -fr ./Dropbox.
I would have thought there was a way to do this in Finder but perhaps it doesn't allow a "sudo" style delete.