What John posted is what I'd call a snap ring.

Another option could be a flat snap/retaining ring. Think a circlip with a continual rectangular profile, which usually just have a notch in either end to help springn them apart.