Add Index Mapping to Indices

I have updated my Index Template with a new mapping that is and Alias to an existing field. I now want to add that to all past indices. Do I use the mapping API to add it? Is there and example?
Thanks in advance.

I have found the correct syntax