DoorDash Inc., through its Gibson, Dunn & Crutcher attorneys, sued New York City on Wednesday over an ordinance that requires the food ordering and delivery service to turn over customer data to city restaurants.

The lawsuit, filed in Manhattan federal court, argued that the law was unconstitutional, forced DoorDash to divulge its trade secrets and violated the company’s own policy concerning customer privacy.