Have one’s job on the line

To be facing the possibility of losing one’s job.

The salesman had his job on the line after his bad sales results.