Update Rule

View as Markdown

Update an existing automation rule. Send full conditions/actions arrays to replace, or partial top-level fields with sometimes-validation semantics. Bumps version and writes a history snapshot.

Headers

{{tenant_key_name}}stringOptional

Request

This endpoint expects a multipart form.
namestringRequired

Optional (sometimes): Rule name - max 191 chars

prioritystringRequired

Optional (sometimes): Integer 0-100

is_activestringRequired

Optional (sometimes): bool

actions[0][sort_order]stringRequired

Optional: Integer

actions[0][action_type]stringRequired

Required when actions[] present

conditions[0][operator]stringRequired

Required when conditions[] present

conditions[0][field_path]stringRequired

Required when conditions[] present: dotted accessor

conditions[0][sort_order]stringRequired

Optional: Integer - default 0

actions[0][assign_pool_id]stringRequired

Conditional: required when action_type=ASSIGN_USER

Response

Successful response