---
title: clearConditions
slug: campaign/docs/clearconditions
docTags: 
createdAt: 2026-07-02T19:01:45.097Z
---

Afterwards, the target group is no longer valid until you set a new condition with [addAndCondition](docId\:oT5GKV1vXpK_cOXCMAQiA) or [addOrCondition](docId\:VZ1d_zIKRu0MF1ljrF8G0).

**Type**: void

**Parameters**

| Name           | Type   | Value                                                                            |
| -------------- | ------ | -------------------------------------------------------------------------------- |
| sessionId      | String | ID of the session                                                                |
| modificationId | String | Identifier created by [beginConditionModification](docId\:WZCyrDlEmoCFmh_omibBd) |

**Return values**

- **Code structure**

```javascript
void clearConditions(String sessionId, String modificationId)
```
