Conditions Partial Update 2
PATCH handler with superadmin lock and field protection.
Checks:
- Object lock (is_managed=True -> non-superadmins can’t modify)
- Field protection (non-superadmins can’t modify specific fields)
Authentication
AuthorizationBearer
JWT access token or Respan API key
Path parameters
condition_id
Request
This endpoint expects an object.
id
unique_organization_id
Organization identifier
name
Human-readable name for the condition
description
Description of what this condition does
condition_policy
Complex condition rules and logic stored as JSON
filter_set_id
Filter set identifier for log filtering
time_step_minutes
Time window in minutes for aggregation type conditions
sampling_rate
Sampling rate for single log conditions (0.0 to 1.0)
updated_by
Response
unique_organization_id
Organization identifier
name
Human-readable name for the condition
condition_policy
Complex condition rules and logic stored as JSON
created_at
updated_at
id
description
Description of what this condition does
filter_set_id
Filter set identifier for log filtering
time_step_minutes
Time window in minutes for aggregation type conditions
sampling_rate
Sampling rate for single log conditions (0.0 to 1.0)
updated_by