Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide
NuGetDev CommunityOptimizely AcademySubmit a ticket

Optimizely developer documentation

How can we help you?

Try our conversational search powered by Generative AI!

AI OnAI Off

removeBlacklisted

Deletes all blocked recipients from a recipient list in Optimizely Campaign.

By default, the media type EMAIL is used. Use the setMediaType method to select another media type such as SMS.

Type: int

Parameters

NameTypeValue
sessionIdStringID of the session
recipientListIdlongID of the recipient list

Return values

Number of recipients that have been deleted

Code structure

int removeBlacklisted(String sessionId, long recipientListId)

Did this page help you?