The city or town council may abolish, by a majority vote of the council, any office, except that of city judge, the appointment to which is made by the mayor with the advice and consent of the council and may discharge any officer so appointed.
§ 7-4-4105, MCA