Create or update a rule
PUT
/resources/rules/{ruleId}
No If-Match header: create only (409 if exists).
If-Match with ETag: update with concurrency check (412 on mismatch).
If-Match: *: upsert (for CLI/manifest apply).
Parameters
Path Parameters
ruleId*
Type
Requiredstring
Request Body
JSON "label": "string", "activeFrom": "string", "activeTo": "string", "components": [ { "componentId": "string", "parameters": { "additionalProperties": null } } ]
{
}
Responses
OK
JSON "ruleId": "string", "label": "string", "activeFrom": "string", "activeTo": "string", "components": [ { "componentId": "string", "parameters": { "additionalProperties": null } } ], "eTag": "string"
{
}
PUT
/resources/rules/{ruleId}