I've been looking for an apartment and discussed my snake with a few places. Some have size limits and some have said just not to say anything and only call it a caged pet. (hamsters, snakes, birds, etc.)
A few said outright no but honestly they would never know. My last apartment I had the maintenance guy come by 1 time in the year I stayed. And he only went into the kitchen.
Unless you have multiple snakes I don't think you would have a problem.
Also the few that said size limits also said the cage must have a locking mechanism.
Sent from my iPad2