On the line

This idiom or expression means:

At risk.

I’m risking everything, and I have to be careful. My neck is on the line, you know!

Also:
My ass is on the line! (Same thing, but not polite.)