WARNING: This page is about a different car, the 2004 Pontiac Sunfire and 2004 Chevrolet Cavalier. However, it is still accessible from the selected car via links, so may be relevant.
Remove the door jamb.
Disconnect the door jamb switch electrical connector.
Fig 1: Disconnecting Front Door Jamb Switch Electrical Connector
Courtesy of GENERAL MOTORS CORP.
Remove the door jamb switch from the vehicle door pillar.