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


Clears the conditions of a target group in Optimizely Campaign.

Afterwards, the target group is no longer valid until you set a new condition with addAndCondition or addOrCondition.

Type: void


sessionIdStringID of the session
modificationIdStringIdentifier created by beginConditionModification

Return values

  • Code structure

    void clearConditions(String sessionId, String modificationId)