Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

add

Adds an entry to the blocklist in Optimizely Campaign.

Type: void

Parameters

NameTypeValue
sessionIdStringID of the session
entryStringEntry (for example, an email address) to be blocked (can contain wildcards like ? or *)
reasonStringReason for this blocklist entry (optional)

Return values

  • Code structure

    void add(String sessionId, String entry, String reason)
    

Next