yank somebody's chain

yank somebody’s ˈchain

(American English, informal) tell somebody something which is not true, as a joke: Did you mean what you said, or were you just yanking my chain?
Yank means pull something hard, quickly and suddenly.
See also: chain, yank