idiom
by the skin of your teeth
etwas gerade noch schaffen
Meaning
to just barely manage to do something
Example
He passed the exam **by the skin of his teeth**.
Er hat die Prüfung gerade noch bestanden.