Api Conditions Update 2

PUT handler with superadmin lock and field protection.

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

Authentication

AuthorizationBearer
JWT access token or Respan API key

Path parameters

condition_idstringRequired

Request

This endpoint expects an object.
unique_organization_idstringRequired1-255 characters
Organization identifier
namestringRequired1-255 characters

Human-readable name for the condition

condition_policyanyRequired
Complex condition rules and logic stored as JSON
idstringOptional1-255 characters
descriptionstringOptional
Description of what this condition does
filter_set_idstring or nullOptional<=255 characters
Filter set identifier for log filtering
time_step_minutesinteger or nullOptional-2147483648-2147483647
Time window in minutes for aggregation type conditions
sampling_ratedouble or nullOptional

Sampling rate for single log conditions (0.0 to 1.0)

updated_byinteger or nullOptional

Response

unique_organization_idstring<=255 characters
Organization identifier
namestring<=255 characters

Human-readable name for the condition

condition_policyany
Complex condition rules and logic stored as JSON
created_atdatetimeRead-only
updated_atdatetimeRead-only
idstring<=255 characters
descriptionstring
Description of what this condition does
filter_set_idstring or null<=255 characters
Filter set identifier for log filtering
time_step_minutesinteger or null-2147483648-2147483647
Time window in minutes for aggregation type conditions
sampling_ratedouble or null

Sampling rate for single log conditions (0.0 to 1.0)

updated_byinteger or null