NYC Administrative Code § 28-305.3 Special agreement
Nothing in this article shall be construed to prevent the owners of adjacent properties from making or enforcing by private action special agreements with respect to maintenance or repair of retaining walls, partition fences and other site structures or access to adjoining property for such purpose.