Section 368(2) in The Delhi Municipal Corporation Act, 1957
(2)If any of the person upon whom a notice has been served under sub-section (1), appears in pursuance thereof before the Commissioner and gives an undertaking to him that such person shall, within a period specified by the Commissioner, execute such works of improvement in relation to the building as will, in the opinion of the Commissioner, render the building fit for human habitation or an undertaking that the building shall not be used for human habitation until the Commissioner on being satisfied that it has been rendered fit for that purpose, cancels the undertaking, the Commissioner shall not make an order of demolition of the building.