v3

latestOpenAPI 3.1.02026-07-311,4541,5202.3 MB
automations

Conditions Update 2

PUT handler with superadmin lock and field protection.

Same as patch() - checks lock and field protection before delegating.

put/automations/conditions/{condition_id}/

Path parameters

condition_idstring required

Headers

Authorizationstring required

JWT access token or Respan API key

Request body

idstring
unique_organization_idstring required

Organization identifier

namestring required

Human-readable name for the condition

descriptionstring

Description of what this condition does

condition_policyobject required

Complex condition rules and logic stored as JSON

filter_set_idstring nullable

Filter set identifier for log filtering

time_step_minutesinteger nullable

Time window in minutes for aggregation type conditions

sampling_ratenumber double nullable

Sampling rate for single log conditions (0.0 to 1.0)

updated_byinteger nullable

Response

idstring
unique_organization_idstring required

Organization identifier

namestring required

Human-readable name for the condition

descriptionstring

Description of what this condition does

condition_policyobject required

Complex condition rules and logic stored as JSON

filter_set_idstring nullable

Filter set identifier for log filtering

time_step_minutesinteger nullable

Time window in minutes for aggregation type conditions

sampling_ratenumber double nullable

Sampling rate for single log conditions (0.0 to 1.0)

created_atstring date-time required
updated_atstring date-time required
updated_byinteger nullable