As long as the Civil Rights Act and Title VII, and other examples such as the Americans for Disabilities Act, stay intact... whatever they're doing that provides diversity, equity, and inclusion... is completely legal.
X has received executive orders from the Indian government requiring X to block over 8,000 accounts in India, subject to potential penalties including significant fines and imprisonment of the company's local employees. The orders include demands to block access in India to accounts belonging to international news organizations and prominent X users. In most cases, the Indian government has not specified which posts from an account have violated India's local laws.
One of the actions takes aim at college and university accreditors, organizations the White House says have 'abused their authority by imposing discriminatory diversity, equity, and inclusion (DEI)-based standards.'