HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityLog In

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)

What’s Next
Did this page help you?