Have had it up to here with (someone or something)

To have reached the end of one’s endurance or tolerance of someone or something.

The teacher has had it up to here with the bad behavior of the students.