v57

latestOpenAPI 3.1.0Apache-2.0raw.githubusercontent.com2026-08-012143051018.3 KB
Rule

Update an Operation Rule

Patch the mutable fields of an Operation Rule: name, description, and ruleDefinition. Unset fields are left unchanged. The rule definition is re-validated server-side; validation failure leaves the rule untouched.

operationType and operationCode are immutable after creation — create a new rule and delete the old one to change them.

Org must have an Infrastructure Provider entity. User must have authorization role with PROVIDER_ADMIN suffix.

patch/v2/org/{org}/nico/task/rule/{id}

Request body

siteIdstring uuid required

ID of the Site that owns the rule.

namestring

New rule name. Must be non-empty when provided.

descriptionstring

New free-form description.

Response

Rule was updated.