remove

Remove fields

it is not an error to remove a non-existent field

Type: array of fields

Example: unconditional removal

input:

{"one":1,"two":2}

action:

remove:
  - two

output:

{"one":1}

Example: conditional removal

input:

{"one":1,"two":1}
{"one":1,"two":2}

action:

remove:
  condition: two > 2
  fields:
    - two

output:

{"one":1,"two":1}
{"one":1}