We don’t have a single Web API that can do this directly. Currently, you can do this in 2 steps:
1) Use the
/pdf/edit/delete-text to remove the text you want to change. 2) Use the
/pdf/edit/add to add the new text.
The /pdf/edit/add supports several font names. You can also change the font size, style, and color.