replace

Version

Replaces a JSON value at the configured JSONPath with a static string.
api:
flow:
- replace:
jsonPath: $.person.name
with: Alice
api:
    flow:
      - replace:
          jsonPath: $.person.name
          with: Alice

Syntax

replace:
jsonPath: <string>
with: <string>
replace:
  jsonPath: <string>
  with: <string>

Attributes

NameRequiredDefaultDescriptionExamples
jsonPathfalse---
withfalse---

Can be used in