Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

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