Api Limit Policies 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
Response
id
name
scope
scope_value
compose
metric
cost- Costrequest_count- Request counttoken_count- Token count
algorithm
balance_fixed_window- Balance fixed windowtoken_bucket- Token bucket
period
effective_at
expires_at
priority
is_active
threshold_value
meter_definition_id
updated_by
created_at
updated_at
current_state
Live counter state for the policy’s current window. Sourced from Redis (same key apply_limits evaluates against). Populated by the view’s bulk prefetch on list responses; falls back to a single HGET on detail.