Nonequilibrium structure formation and dynamics in suspensions of superparamagnetic colloids driven by an external rotating magnetic field are studied by particle-based mesoscale hydrodynamics simulations in confined geometry. We address the fundamental question how the rotation of the colloids about their own axes can be converted into a translational motion by breaking the symmetry of the confining geometry. We study a two-dimensional system of colloids with short-range repulsive interactions, which mimics flow in shallow microchannels. In straight channels, we observe a two-way traffic but-for symmetry reasons-no net transport. However, by keeping some colloids fixed near one of the two walls, net transport can be achieved. This approach allows the control and switchability of the flow in complex microchannel networks. A minimal geometry that fulfills the requirement of broken symmetry are ring channels. We determine the translational velocity of the spinning colloids and study its dependence on the channel width for various median radii. We conclude that spinning colloids present a promising alternative for flow generation and control in microfluidic devices.