Buildings - Fences and Backyard Sheds - NYCgov The New York City Construction Codes outline the requirements for installing fences and backyard sheds In limited cases  work plans  and permits are required