The endoscope has an endoscope head (32) with a light inlet and a channel for passing a rinsing medium. A deflection unit (52) is arranged before a mouth of the channel to steer the withdrawing medium to the inlet. The unit is arranged at a piece of a body of the head and is removable from the body, where the piece is accommodated at the body in a location-defined and unremovable manner and is attached to the body by a fastener.