Actually the pin is through the cup's shaft on the inside of the diff. It acts to key the beveled gear in place and to hold the shaft in. Take the gear off by pulling it straight up being careful not to mess with the teeth. You will then be able to slide the pin out of the shaft for removal.
Pay attention to your bearing orrientation and grease the shaft when you reassemble it.
Hope this helps.
Tex