HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In


Deletes multiple recipients from a recipient list in Optimizely Campaign.



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

Type: boolean[ ]


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)

What’s Next