Search for "pinhole" SMT switch (like "reset" switch operated with paperclip)
All the devices I've opened that had a &quot;paperclip pinhole reset&quot; had a hole in the enclosure and a standard pcb switch like this one behind it.

If you don't have an enclosure (just a PCB) you can't do that, but you could use a reverse-mounted switch with a hole in the PCB instead...

This is a pretty uncommon and hard to find component though.