HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

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)

What’s Next
Did this page help you?