The Logitech C270 is an awesome camera for Octoprint/Pi setups. This is a simple mount that uses part of the C270's clamp as the "tilt" and the mount swivels for the "pan".
The mount is held together with a 4-40 flat-head screw and a washer between the camera mount and base. I printed this one with ABS at 0.3mm LH and 50% infill.
Depending on how close the camera is to the subject of interest, the C270 may need to be refocused (not hard) which is not covered here but instructions can be easily found on the internet.