HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

The default target group can be configured for a client and is used for every mailing unless it is disabled.

**Type**: void


sessionIdStringID of the session
mailingIdlongID of the mailing
enabledboolean<ul><li><span class="classLib">true</span>: Activates the default target group</li>
<li><span class="classLib">false</span>: Deactivates the default target group</li></ul>

**Return values**: -

**Code structure**