Docs
Update Reset Condition
PUT /rule-sets/{ruleSetId}/rules/{ruleId}/reset-conditions/{conditionId}
PUT
/rule-sets/{ruleSetId}/rules/{ruleId}/reset-conditions/{conditionId}Replaces a reset condition's fields. resetType is ScheduleGap, BlockType (with blockTypeId) or CalendarPeriod (with period Day, Week or Month and periodStartDay); minDuration with durationUnit (Hours, Minutes or Days) gives the minimum gap or block length. thresholdOverrides give per-threshold values after this reset. Needs the event settings permission.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| ruleSetId | uuid | Required | |
| ruleId | uuid | Required | |
| conditionId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| resetType | string | Optional | |
| blockTypeId | uuid | Optional | |
| minDuration | number | Optional | |
| durationUnit | string | Optional | |
| period | string | Optional | |
| periodStartDay | string | Optional | |
| thresholdOverrides | UpdateResetConditionRequestThresholdOverrideRequest[] | Optional |
UpdateResetConditionRequestThresholdOverrideRequest
| Field | Type | Description |
|---|---|---|
| ruleThresholdId | uuid | |
| threshold | number | |
| thresholdUnit | string| null |