HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog 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)
    

Did this page help you?