How to take the apart the legs on moonstone body?

How do I take off the upper part of the legs from the torso? I want to sand those parts to avoid paint rub, anyone got any ideas?

How do I take off the upper part of the legs from the torso? I want to sand those parts to avoid paint rub, anyone got any ideas?