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

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)