“We… will be investigating how this occurred with a view to taking disciplinary action against those involved.”

Mr Paul added that Optus employs more than 70 different nationalities and “proudly supports diversity”.

Optus is Australia's second largest telecommunications company.

The union representing Optus workers slammed the "blatantly racist" ad and called for an investigation into the company's hiring policies.

"How did this racist requirement end up in an ad at all?" CEPU national secretary Greg Rayner said in a statement.

"This is extremely concerning and we have to get to the bottom of how this happened."

Maurice Blackburn employment lawyer Alex Grayson said discrimination in ads doesn’t often occur, but most such incidents happen “behind the scenes”.

But she said there could be a legal case for anybody who missed out on the job.

“I think it is possible if somebody has indeed been discriminated against or not been offered this job or not gone for the job that they could mount some sort of discrimination case,” she told SBS News.

Ms Grayson added employers could be liable to pay up to $63,000 in penalties if found to have discriminated against someone on the basis of race.