Disclaimer: This website requires JavaScript to function properly. Some features may not work as expected. 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

removeAll

Deletes multiple recipients from a recipient list in Optimizely Campaign.

📘

Note

Do not use this method with recipients who unsubscribe from a newsletter. Instead, use the add and addAll methods of the UnsubscribeWebservice.

Type: boolean[ ]

Parameters

NameTypeValue
sessionIdStringID of the session
recipientListIdlongID of the recipient list
recipientIdsString[ ]IDs of the recipients

Return values

  • true: Recipient has been deleted successfully
  • false: Recipient does not exist

Code structure

boolean[] removeAll(String sessionId, long recipientListId, String[] recipientIds)