Update an Operation Rule
Changed onPatch 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.
Request
- Base URLhttps://nico-rest-api.nico.svc.cluster.local
- URLhttps://nico-rest-api.nico.svc.cluster.local/v2/org/{org}/nico/task/rule/{id}
- AuthHTTP bearer
Request body
Response
Rule was updated.
Changes
- info
removed the
nicoenum value from theresponse property for the response status - info
removed the
nicoenum value from theresponse property for the response status - info
removed the
nicoenum value from theresponse property for the response status - info
removed the
nicoenum value from theresponse property for the response status
- info
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info