How can I adjust the torque/angle of an avatar's skeleton in real time?

I want to update the data in C++, not the skeletal mesh editor. I’m not sure of where this edit would be placed and what the class names that refer to such data. If someone could explain how to adjust 1 joint for the default skeleton, I can figure it out for my custom one. Thank you in advance!