Api Conditions Update

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

Request

This endpoint expects an object.
namestringRequired1-255 characters

Human-readable name for the condition

unique_organization_idstringRequired1-255 characters
Organization identifier
time_step_minutesinteger or nullOptional-2147483648-2147483647
Time window in minutes for aggregation type conditions

Response

idstringRead-only
namestring<=255 characters

Human-readable name for the condition

unique_organization_idstring<=255 characters
Organization identifier
condition_policymap from strings to objectsRead-only
created_atdatetimeRead-only
updated_atdatetimeRead-only
time_step_minutesinteger or null-2147483648-2147483647
Time window in minutes for aggregation type conditions