What GPA (or combination of grades) does one need to maintain to avoid getting rescinded?

I got in for Mechanical Engineering.

I’ve heard a D, F and more than 2 Cs. C’s may get you a warning letter. I don’t remember where I heard that so take it with a grain of salt