Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsGitHubNuGetDev CommunitySubmit a ticketLog In

clearConditions

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

Parameters

NameTypeValue
sessionIdStringID of the session
modificationIdStringIdentifier created by beginConditionModification

Return values

  • Code structure

    void clearConditions(String sessionId, String modificationId)