Data: Delete JSON key

Delete a key from a JSON object at a path.

Help Centre › Functions & Formulas

Delete a key from a JSON object at a path.

Add it to a process

In the process designer, open the Add step tab. Find Delete JSON key under Data › JSON, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
JSON dataYesThe data variable or JSON string to process
Dot-notation path to deleteYesThe JSON path expression
VariableYesVariable name to store the result Default: data.

What it gives back

  • {data} – Modified JSON

See all Data steps.

Errors

ErrorDescription
Invalid JSONThe data is not valid JSON
Path not foundThe specified path does not exist in the data

Tips

  • Use json-query to verify the key exists before deleting
  • Useful for removing sensitive fields before logging or forwarding data

Related functions

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.