Delete a msg property in node red function

Hello, I have a question
is it possible to delete a msg property in a node red function

somehow like that
delete(msg.temperature)

yes...

delete msg.somethingINoLongerNeed
return msg

but you should just use the change node

Msg.temperature={}
Deletes value, not property, sorry

That doesn't remove the object, just creates one with no properties

You type faster

1 Like

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