Every municipality shall have power to sell, convey, and dispose of the plant or equipment of any public utility owned by the municipality and to contract for the leasing or operation of such plant, equipment, or utility by others, and to grant to the lessee or operator under such a contract the right to purchase such plant, equipment, or utility upon such terms and conditions as may be expressed in the contract, after authorization as provided by this title.
SDCL 9-39-36