Magidoc

unscheduleCampaignEmail
Mutation

Cancels a scheduled campaign email before its send time and returns it to an unsent draft with no send time. To edit or reschedule it, call this, then updateCampaignRecipientPlay with the new content and executionPlan.scheduledSendAt (null sends at once), then launchCampaignRecipientPlay. Recipients without plays are re-planned with upsertCampaignRecipientPlan and executeCampaign. Access: Campaign owner, workspace admin, or the email's assigned sender. Errors: rejected once the email has started sending or when it was never scheduled.

Arguments

#

campaignRecipientId

ID !
Non-null

Response

#

Returns Boolean !.

Example

#