skin of the teeth

Noun

 * 1) Nothing, or next to nothing; the least possible hold or advantage.