The migrants, who were moved in an operation Sunday, had demanded to be relocated to other countries, claiming they had been threatened by xenophobic violence last year.
But the group lost their court bid to compel the government to fly them to what they said would be safer countries, including the U.S. and Canada.
The foreigners had camped outside the Central Methodist Church at Cape Town’s Green Market Square. South African authorities said they will verify their identities and will process those seeking asylum.
The removal of the foreigners was largely a calm operation, with the authorities getting little resistance from the migrants, except for some heckling and chanting.