Replace text with a blank value using API and PhP

Using PhP to send a PDF to ASPOSE and using the text replace to replace {value} in the pdf with a value - say “hello”. But if the value I want is blank, I can seem to be able to replace {value} with a blank, ie: make the text {value} disappear from the PDF and have nothing replace it.

I get an error
{“TextReplaces[5].NewValue”:[“The NewValue field is required.”],"
as a reply

This is what I send as part of the API call

{“TextReplaces”:[{“OldValue”:"{value}",“NewValue”:"",“Regex”:false}]}

Got to be something simple!!

Thanks in advance

This topic has been moved to the related forum: Replace text in PDF document with a blank value in PHP using Aspose.PDF REST API - Free Support Forum - aspose.cloud