The Geeetech Endstop switches have a 5V line run to them to drive the LED when the switch is activated. When using the 3 pin JST endstop connection on our EZABL boards you will need to remove the 5V line so you don’t accidentally short it to ground. The switch will function without the LED lighting even after removing the 5V wire.
To remove the wire just hold the white end of the cable and pull on the wire you want to remove (or cut it flush with the white plug). There are little retaining clips on the rear of the JST plug that if you press them in with a pin and pull on that wire it will release.