N.Y. Election Law § 6-146
7. A person designated as a candidate for nomination or for party position, or nominated for an office, may, in a certificate signed and acknowledged by such person and filed no later than the last day to certify the ballot pursuant to section 4-110 or section 4-112 of this chapter, decline the designation or nomination under the following circumstances: