pull someone's leg

definition: subject to a playful hoax or joke
example:
speech part: verb
synonyms: hoax

How pull someone's leg is being used?