To rib or make a fool of a person through jibes and derision.
take the piss
To rib the people around you with mockery, or to openly express disdain toward them.
Showing up with takeout after ignoring the group chat all week is pure taking the piss.
To go way beyond what is fair or reasonable.
Some definitions on this page are adapted from Wiktionary, used under CC BY-SA 4.0. Credits.