Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket

cancel

Cancels a running mailing (status: SENDING or PAUSED) in Optimizely Campaign.

The mailing must be of the type regular. All other mailings (event, confirmation, template) cannot be canceled.

Type: void

Parameters

NameTypeValue
sessionIdStringID of the session
mailingIdlongID of the mailing

Return values

  • Code structure

    void cancel(String sessionId, long mailingId)
    

Next