HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityLog In

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)
    

What’s Next
Did this page help you?