Wiktionary
not have a leg to stand on
vb. (context idiomatic English) To lack support, as in an argument, debate, or negotiation.
Usage examples of "not have a leg to stand on".
Not only did I not have a leg to stand on, the leg had nothing to stand on.