User Organization Update
PUT handler with superadmin lock and field protection.
Same as patch() - checks lock and field protection before delegating.
Authentication
Path parameters
Request
Behavior slugs excluded from span-behavior evaluation.
Custom property key -> indexed ClickHouse column name (e.g. custom_string_1).
Staff-only ban/unban switch. Read-only (ignored) for non-staff callers.
active- activeinactive- inactive
Send null to clear the organization logo. Uploading a new logo is a separate multipart operation: PATCH /user/organization/{unique_organization_id}/logo/.
Credit balance threshold (in USD) to trigger low balance warning webhook. When credit balance drops below this value, a credit_low_balance_threshold_reached webhook event is dispatched once until balance goes above threshold again.
Credit balance threshold (in USD) to trigger auto top-off. When credit balance drops below this value, automatically charge credit_auto_top_off_amount via Stripe.
Amount (in USD) to automatically charge when credit balance drops below credit_auto_top_off_threshold. Requires stripe_customer_id with valid payment method.
Enable automatic credit top-off. When enabled and balance drops below credit_auto_top_off_threshold, automatically charges credit_auto_top_off_amount via Stripe. Requires stripe_customer_id with valid payment method.
Spend cap amount in USD. Enforced in real-time via atomic Redis limiter.
Duration for spend_cap enforcement: daily, weekly, or monthly.
daily- dailyweekly- weeklymonthly- monthly
Response
active- Activedeleting- Deletinginactive- Inactive
LLM gateway markup rate (default 0% markup). Applied when Keywords AI provides LLM credentials. Formula: credit_charge = cost * (1 + llm_gateway_markup_rate)
Behavior slugs excluded from span-behavior evaluation.
Custom property key -> indexed ClickHouse column name (e.g. custom_string_1).
Credit balance threshold (in USD) to trigger low balance warning webhook. When credit balance drops below this value, a credit_low_balance_threshold_reached webhook event is dispatched once until balance goes above threshold again.
Credit balance threshold (in USD) to trigger auto top-off. When credit balance drops below this value, automatically charge credit_auto_top_off_amount via Stripe.
Amount (in USD) to automatically charge when credit balance drops below credit_auto_top_off_threshold. Requires stripe_customer_id with valid payment method.
Enable automatic credit top-off. When enabled and balance drops below credit_auto_top_off_threshold, automatically charges credit_auto_top_off_amount via Stripe. Requires stripe_customer_id with valid payment method.
Spend cap amount in USD. Enforced in real-time via atomic Redis limiter.
Duration for spend_cap enforcement: daily, weekly, or monthly.
daily- dailyweekly- weeklymonthly- monthly