Clear specific animation data
I have similar situation recently, got thousands of objects and only needing to clear certain channels. I was trying to see if I could find Python script, but apparently Dope Sheet have Summary feature and you can quickly filter out Channels of your selected Object(s) by "Name". So this is super handy as you can search for Scale, and then select all and delete those Scale XYZ channel, or search for X Scale and the summary filter will filter out the X Scale from all selected objects, and then so you can select all from filter and delete those keyframes you don't need.