I've seen 2 types of nuts... first we need to assume that your axle has only one nut per side and not one nut locked to a second nut, (jam nut)
1 - has a small keeper pressed into the plastic insert in the nut that is pushed into a key slot on the spindle... you pull this keeper out with a needle nose pliers and just remove the nut with a socket... Upon installation you set the torque (preload) and push the keeper back into place...
2 - the second style has a spring loaded keeper... and the correct size socket, pressed into place and held there will push in the spring loaded keeper and will remove it. . Upon installation, you start the nut by hand until the keeper holds it... and now install the socket, pressing in the keeper... torque the nut (preload) and when you pull the socket off the keeper locks it in place...
in example 2, you can hold the keeper down and remove the nut without a socket...
I've seen all 3 examples on our trucks, and to be honest can't remember which is on which truck... . Hope this helps...
What I'm interested in, is why are you wanting to take this part... I've not yet had to do this to any of my current trucks listed below...