ToolsCampaigns
mailmoo_campaign_remove_step
Remove a step from a campaign's sequence
Removes one step from a paused campaign's sequence and joins the steps around it. Conditions are removed in the app, and the last step on a condition's path cannot be removed until another takes its place. Without confirm it changes nothing and returns the campaign's current readiness so you can name the step to the user; call again with confirm: true.
Effect: Write. See Effects.
Permissions: Read campaigns, Write campaigns.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
campaign | string | Yes | The campaign, by name or id. |
stepId | string | Yes | The step, from campaign_get_context. |
confirm | boolean | No | Leave out first: the call then changes nothing and returns what would happen. Show that to the user, and call again with confirm: true once they agree. |

