Remove a journey step
remove_journey_stepRemove a journey step and join its neighbours. The trigger cannot be removed. For a split, ask which path to keep and pass keep_path (yes/no or A/B variant key); all other paths are deleted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | The site, from list_sites | |
| step_id | Yes | A step id exactly as get_journey shows it, e.g. n_email_1 | |
| keep_path | No | Split path to keep: yes, no, or an A/B variant key. Confirm which path the owner wants before deleting the others. | |
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. | |
| journey_id | Yes | The journey, by id from list_journeys |