In a blow to Mayor Bill de Blasio, a state court on Monday halted his plan to give certain homeowners a $183 credit on their water and sewer bill.

Justice Carol R. Edmead of State Supreme Court in Manhattan ruled that the actions of the water board in authorizing the one-time payment along with a general rate increase was “an abuse of discretion” and exceeded the board’s authority.

Mr. de Blasio heralded the water bill credit in an April news conference and has since promoted the measure as an action his administration was taking to help New York homeowners.

The administration argued that the credit, which was to apply only to one- to three-family homes, was made possible by the city’s decision to no longer request a “rental payment” from the water board, an independent public benefit corporation, leaving it with a surplus.