on the line : Popular Idioms in English

on the line

At risk

After he messed up on the big contract, Adrian tried his hardest to please his boss, knowing that his job was on the line.