The Airbnb logo and website are displayed on laptop computers in this arranged photograph.

Airbnb and the New York State Attorney General's office are expected to square off in court Tuesday over a case that has been back-and-forth since October when AG Eric Schneiderman issued a subpoena seeking details on thousands of people he suspects are renting out rooms illegally.

"It is illegal for residents of Class A [multiple dwelling] buildings to rent out their apartments for any period of time less than 30 days unless they are also present in the apartment," the AG's office states in its November rebuttal to Airbnb's attempt to quash the subpoena.