tan someone's hide
verbEtymology By metaphor from tannery: beating hides (to condition them), tanning them (with dyes and chemicals), and so on.
1
Figuratively, Idiomatic To beat or spank someone, usually on their backside.
- "You lying little snipe," he roared. ". . . I've a mind to tan your hide good."1908, Stewart Edward White, chapter 12, in The Adventures of Bobby Orde: