Bike parking requirements are generally part of zoning, not building codes, and generally apply only to new construction, not existing buildings. That appears to be true in Chicago: https://chicagocode.org/17-10-0300/
It's good that it was helpful in convincing the building superintendent to support bicycles, but probably not so great if that's not actually what the law requires. (Perhaps your building was recently constructed and the Chicago Building department or Zoning Administrator failed to enforce the zoning code?)
I'm familiar with how zoning works. Buildings in Chicago are required to meet the code for when they were built, or the current code. The building manager tried to get away with breaking the laws a number of other times, but the bike parking issue was the easiest example.
The building has a parking lot that was constructed to meet the current code, but bicycle parking was not added. Furthermore, the rack the building manager purchased to comply with the law was not a type allowed by the Chicago Department of Transportation, the entity responsible for determining which racks comply with the zoning law. Finally, the guy dropped the rack in the striped area of the ADA parking zone and didn't secure it to anything, which is also illegal.
For an example of a time he clearly violated the law, he replaced our windows with ones that couldn't open, but insisted that he could only run the mechanical ventilation from 9 AM to 5 PM despite the building being occupied well outside of these hours. When he was called out on this fact, he tried to hide behind the noise ordinance, which has a specific exception for mechanical ventilation. He also tried to claim that we "chose" to be in the building while the ventilation was off, so ventilation didn't need to be provided, which is also false. No matter which year was chosen for the code, the building would not be allowed to be occupied without ventilation under any building code.
Being able to look up the relevant ordinance on the internet and send him the link was extremely helpful. Furthermore, it made it a lot easier to find who was responsible for enforcing a particular area of the code, and then explain what law was being broken to them. Without the code online, I'm rather sure I'd have to hire a lawyer to get anything done. The city tends to respond to problems based on the length of time they will take to solve, and being able to contact the right department with the exact issue at hand speed up the process immensely. I can't even imagine how either the bike rack issue or the ventilation issue would have taken if I had to call 311 and try to get the phone number to the correct department. I once got a call back for some illegal dumping I reported two years after I had moved out of the apartment I was reporting the issue from.
People like that will do anything. I lived in a building where due to some bizarre dispute with the city, the landlord removed the front door.
He had a section 8 tenant, and section 8 requires that anything in the home be in good order. The door locks didn't work correctly, and that tenant reported him. He believed that removing the door would solve his problem, as a door that is missing is not broken.
I ultimately escaped paying a few months rent when he was arrested for trying to set another building on fire.
Landlords are by definition rent-seekers peddling a highly constrained resource. At scale they tend to self-organize into local cartel business models, and thus trend towards the asshole side of the behavioral spectrum.
Bike parking requirements are generally part of zoning, not building codes, and generally apply only to new construction, not existing buildings. That appears to be true in Chicago: https://chicagocode.org/17-10-0300/
It's good that it was helpful in convincing the building superintendent to support bicycles, but probably not so great if that's not actually what the law requires. (Perhaps your building was recently constructed and the Chicago Building department or Zoning Administrator failed to enforce the zoning code?)