help -how do i remove wire from side marker housing

ok - you want to paint THAT piece- the light housing itself!?? so you want this (inside the circle) off View attachment 1715032676
- it is "swedged" on and is not meant to be removed - best you can do is tape over it
i want to pull the wire out so i can take the housing off the car so i can paint the car,I cant pull the housing thru the hole