Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunityDoc feedbackLog In
GitHubNuGetDev CommunityDoc feedback


Adds an entry to the blocklist in Optimizely Campaign.

Type: void


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)

What’s Next