Follow the below steps to manage Accounts (Google, Office, Dropbox, etc) in Settings.
1. Tap Settings --> SEE ALL SETTINGS
2. Scroll down to Accounts. From here, you can Add account or select an account to remove.
3. To remove account. Once account is removed, all data associated with account is deleted.