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
| Field | Required | What it does |
|---|---|---|
| JSON data | Yes | The data variable or JSON string to process |
| Dot-notation path to delete | Yes | The JSON path expression |
| Variable | Yes | Variable name to store the result Default: data. |
What it gives back
{data}– Modified JSON
See all Data steps.
Errors
| Error | Description |
|---|---|
| Invalid JSON | The data is not valid JSON |
| Path not found | The 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