JSON Remove Key

JSON Remove Key is an action that takes a JSON object or a list of objects and a key as input and returns the input object with the input key removed from it.

This action can be useful for deleting unwanted or sensitive data from a JSON object before sending it to another service or storing it in a database. The action does not modify the original object, but creates a copy of it with the key removed. If the input object does not have the input key, the action returns the object unchanged. If the input is not a valid JSON object or a list of objects, the action raises an error.

Inputs

NameTypeDescription
JSON ObjectObject{"key":"value"} OR [{"key":"value"},{"key":"value"}]
Key To removeStringThe object key which is need to remove

Outputs

NameTypeDescription
SuccessBooleanSuccess
DataObjectThe input object or list without the Key To remove