So did you move into an apartment with a snake knowing they aren't allowed? Or did you accquire the snake after, knowing they're not allowed? Either way, not cool. If i was your landlord you'd be evicted immediately.
Part of being a responsible pet owner is housing them properly. Since you're housing them against your rental agreement you're, in my opinion, not housing them responsibly.
My two cents: either find a place to live that allows snakes or rehome the snake.