If you read the above articles, you should read the below two also. I've added antimetabolites (cytotoxic or affect cell division, hence immune function) drugs, and CD20 (affect B cells transformation to plasma cells which produce antibodies) drugs. These two drug lists are not exhaustive of medication that could impact immune system.
https://www.popsci.com/health/immuno...id-19-vaccine/
https://jamanetwork.com/journals/jam...rticle/2780270
https://www.drugs.com/drug-class/antimetabolites.html
https://www.drugs.com/drug-class/cd2...ntibodies.html