# How to remove the values in the json payload

**URL:** <https://discourse.nodered.org/t/how-to-remove-the-values-in-the-json-payload/88125>\
**Category:** General\
**Tags:** function-node\
**Created:** [20 May 2024 14:43 UTC](https://discourse.nodered.org/t/how-to-remove-the-values-in-the-json-payload/88125 "2024-05-20T14:43:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sura95](https://avatars.discourse-cdn.com/v4/letter/s/a183cd/32.png) [@sura95](https://discourse.nodered.org/u/sura95)\
**Post date:** [20 May 2024 14:43 UTC](https://discourse.nodered.org/t/how-to-remove-the-values-in-the-json-payload/88125/1 "2024-05-20T14:43:05Z")

</div>

can you guide how to remove this spi: in json response

 ![Screenshot_1](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/c/6c64f4c53da70925303b90e8259a4a01da02a4cc.jpeg)

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [20 May 2024 14:56 UTC](https://discourse.nodered.org/t/how-to-remove-the-values-in-the-json-payload/88125/2 "2024-05-20T14:56:51Z")

</div>

Hi @sura95 welcome to the forum.

Edit: Looking again with fresh eyes, I don't think this is the right answer.

You can use a change node:

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [20 May 2024 15:28 UTC](https://discourse.nodered.org/t/how-to-remove-the-values-in-the-json-payload/88125/3 "2024-05-20T15:28:33Z")

</div>

> [@sura95](#):
>
> can you guide how to remove this spi: in json response

This might be the case of a new user trap - do you _REALLY_ need to remove them?

PS, as @jbudd says, use a change node but to get the actual path (without typos) use the tools provided (hint **"Copy Path"** ):

There’s a great page in the docs ([Working with messages : Node-RED](https://nodered.org/docs/user-guide/messages)) that will explain how to use the debug panel to find the right path/value for any data item.

Pay particular attention to the part about the buttons that appear under your mouse pointer when you over hover a debug message property in the sidebar.

![BX00Cy7yHi](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/d/bd1f333a9e043b061b39917c328b0094d3e52d30.gif)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [18 August 2024 15:29 UTC](https://discourse.nodered.org/t/how-to-remove-the-values-in-the-json-payload/88125/4 "2024-08-18T15:29:01Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
