Trump officials say the president is within his rights to fire officials who do not share his agenda.