Hi @SinPeow ,
As far as I know, there is no such function to hide the response. The message is JSON text that must adhere to the JSON response structure.
Please refer to the following link
https://learn.microsoft.com/en-us/openspecs/sharepoint_protocols/ms-csom/b8e83378-1c9c-4224-96c3-370aa78f5fa9
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.