In golf, the flagpole marking the hole on a green (3)
I believe the answer is:
pin
(Other definitions for pin that I've seen before include "Flagged stick placed in golf hole" , "Skittle; fix" , "Fasten; a security code" , "Cashpoint code" , "Sewer's aid" .)