How do I unregister my thermostat from a previous account?

By selecting "Delete my account" at the menu for "Account Settings".