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

removeNotOptined

Deletes a recipient from a recipient list in Optimizely Campaign only if the opt-in process is not finished yet.

Example: A recipient has been created using a double opt-in process but has never clicked the confirmation link. This recipient can be deleted with this method.

Type: boolean

Parameters

NameTypeValue
sessionIdStringID of the session
recipientListIdlongID of the recipient list
recipientIdStringID of the recipient

Return values

  • true: Recipient has been deleted successfully
  • false: Recipient does not exist or has finished the opt-in process

Code structure

boolean removeNotOptined(String sessionId, long recipientListId, String recipientId)