Andrew Johnson was impeached for removing Senate-approved officers. The trial failed. It's been the precedent since then that the President can terminate any and all presidentially-appointed officers, at any time, and for any reason. Sure, the SCOTUS has vascillated on this, but the courts now are being more clear now that this really is the case.
> the courts now are being more clear now that this really is the case.
Which have been packed by Federalist ideologues for years. The "court" (as if its some one whole) isn't some nueatral 3rd party arbiter of the "law".
Presidential impeachments are political processes and so do not set precedent. At least, not any more than any other political process. So it's as much a precedent as McConnell's "no SCOTUS confirmations within the year before a presidential election" or Johnson's "congress members don't need to be seated in a timely manner" precedents.