Mocking someone, making fun, being gently disrespectful. The polite cousin of "taking the piss." Same energy, safer for mixed company, and just as effective at winding someone up.
"Are you taking the mickey? There's no way that actually happened."