Delete Condition from RLCL
Overview
Removes all conditions from an RLCL and resets it to the default condition. The default condition is an AND rule with an empty condition rule list, which means the RLCL will be applied unconditionally (always).
Endpoint
DELETE /apiops/projects/{projectName}/rlcl/{rlclName}/condition/
Authentication
Requires a Personal API Access Token.
Header
Authorization: Bearer YOUR_TOKEN
Request
Headers
| Header | Value | Required |
|---|---|---|
| Authorization | Bearer {token} | Yes |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | Yes | Project name |
| rlclName | string | Yes | RLCL name |
Request Body
None.
Response
Success Response (200 OK)
{
"success": true
}
cURL Example
curl -X DELETE \
"https://demo.apinizer.com/apiops/projects/MyProject/rlcl/PremiumUserRLCL/condition/" \
-H "Authorization: Bearer YOUR_TOKEN"
Notes and Warnings
- Default Condition Reset:
- All existing conditions are removed
- The RLCL is reset to the default condition (AND rule with empty conditionRuleList)
- After reset, RLCL is applied unconditionally (always)
- No condition evaluation is performed
- The default condition cannot be deleted; it is automatically restored
Related Documentation
- Add Condition - Add condition to RLCL
- Update Condition - Update condition in RLCL