deleteDocRuleSubCondition
DELETE/doc-rules/:docRuleId/sub-conditions/:elementId
Deletes the sub-condition identified by elementId from the RuleDefinition of the DocRule.
Server-side cascade: deleting a sub-condition removes the corresponding rangeSubConditions entry
from every range group of its condition group. This honours the invariant of exactly one entry per
(SubCondition x RangeGroup). The request is rejected with 400 if the sub-condition is the
condition's last sub-condition.
To access the service you need at least one of the following permissions:
| Permission (one of) |
|---|
| createDocRule |
| updateDocRule |
Request
Responses
- 204
- 400
The sub-condition has been successfully deleted.
Bad request.