Skip to main content

ConfigRemoveFields

Transformation that removes a field from the config.

  • type: object
  • required: ["type","field_pointers"]

type​

  • Required: Yes
  • type: string
  • enum: ["ConfigRemoveFields"]

field_pointers​

A list of field pointers to be removed from the config.

  • Required: Yes
  • type: array

Examples:

- tags
- - content
- html
- - content
- plain_text
  • items:

    • type: array

    • items:

      • type: string

condition​

Fields will be removed if expression is evaluated to True.

  • Required: No
  • type: string
  • default: ``
  • Available variables: config, property

Examples:

{{ config['environemnt'] == 'sandbox' }}
{{ property is integer }}
{{ property|length > 5 }}
{{ property == 'some_string_to_match' }}
Was this page helpful?