Unschedule or cancel an email
postfjord_cancel_campaignStops a scheduled or sending email campaign: pending sends return to draft or are cancelled so no further recipients receive it, while delivered copies stay with recipients.
Instructions
Stops an email. By default one that has not started going out turns back into a draft (nothing sent), and one that is going out is cancelled: people who got it keep it, nobody else gets it. mode "unschedule" only turns it back into a draft; mode "cancel" always cancels, and a cancelled email cannot be scheduled again. Needs the Schedule and publish level.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| campaignId | Yes |