HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In


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
Did this page help you?