ALBANY – State Attorney General Eric Schneiderman and Airbnb announced an agreement Wednesday under which the Internet-based company will comply with the state’s subpoena for information about New York apartment rentals.

The agreement calls for Airbnb to “anonymize” renters’ data to hide personal identifying information such as apartment, Social Security and telephone numbers.