Section 231(1) in Andhra Pradesh Municipalities Act, 1965
(1)If any structure appears to the Commissioner to be in a ruinous state and dangerous to the passersby or to the occupiers of neighbouring structures, he may by notice require the owner or occupier to fence off, take down, secure or repair such structures so as to prevent any danger therefrom.