How to remove Message Keyword from Response in Frappe

I am looking for a way to remove the Message keyword as I need to send a response in a predefined format in below code, the message keyword should not be there, and it should return in the payload directly

Disable Cache
1 request
250 B / 1.02 kB transferred
Finish: 1.82 s



Hi @CA_B.C_Chechani:

New v2 API provides response in “data” key.

Anyway, you can customize werkzeug response
Check this:

Hope this helps.

Thanks , I will follow as directed and update