N.Y. Domestic Relations Law § 111
1. Subject to the limitations hereinafter set forth consent to adoption shall be required as follows:
(e) In the case of the adoption of a child transferred to the custody and guardianship of an authorized agency, foster parent, or relative pursuant to section three hundred eighty-four-b of the social services law or a child transferred to the custody and guardianship of an authorized agency pursuant to section three hundred eighty-three-c of the social services law:
(f) In any other adoption proceeding:
2. The consent shall not be required of a parent or of any other person having custody of the child:
3.
6. For the purposes of paragraph (a) of subdivision two: