I have an armature object with a single bone. Now I want to change the rest position for animation purposes.
The only way to manipulate bones I have found is via
arm_object.pose.bones
Anytime I change the position of a bone I get that way, for example with bone.rotation_euler = (0, 0, angle) it changes the pose but not the rest position.