to do something with more force than is necessary to achieve the result you want
Usage notes: A sledgehammer is a large, heavy tool with a wooden handle and a metal head that is used for hitting things.
Sending ten men to arrest one small boy was a clear case of using a sledgehammer to crack a nut.