The city council, mayor's court, recorder's court, all boards, commissions, committees or other agencies of the city charged with the administration of the affairs of the city, excluding individual officers, except in cases in which they are specially authorized by law or ordinance, shall have power and authority to compel the attendance of witnesses and the production of relevant and admissible documents in proper cases, and any person failing or refusing to attend as a witness or to produce relevant and pertinent documentary evidence within his power, custody or control when duly notified or called upon to do so in a proper case shall be subject to punishment prescribed by ordinance of the city.