The mayor and city council shall have full power and authority to fill any vacancy that may occur in any office, held under election or appointment by the said mayor and council, for the unexpired term of such office.