You didn't really do anything wrong - But you didn't really handle it to a satisfactory degree.

Whenever you do something with other people -- As a group -- This should ideally always be discussed with the group at large and the member you kicked to see their thoughts, then you could gauge how to handle the situation.

You're free to do as you wish within your prerogative, but ultimately you took action that affected other people without necessarily getting their consent.