Take some pliers and squeeze the pin while pulling the hook off.
20121211-CabinAirFilter7500mi-04 by
VictorN07, on Flickr
I don't use a pair of pliers when I do this. You can just pinch it with your fingers or press gently on one side and it will come off easily. Less chance of damaging it as well.