I found this information below on the city planning website. Please check with them to make sure.
The maximum height for walls and fences would be reduced from eight to four feet, except on corner lots where six-foot fences will be permitted. City Planning S.I NY 718-556-7240, Pat is very helpful.
A.T. REAL ESTATE SPECIALISTS LLC
Arlene Trunzo, CRS,e-PRO,GRI,SRES / Broker Owner. Awarded NAR's Short Sales and Foreclosure Resource certification
(BCREP) Board certified
718-317-0949 0R 917-359-1985