If the pins aren't the easily removable type then chances are there's no flight manual appendix that permits the operation. Not a big percentage 172s i've seen have door-off approval.
Personally I've very rarely had the need to remove a door when conducting photography ops.