Skip to main content
PATCH
Admin Update Team Settings

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

slug
string
required

Body

application/json

Partial update of a team's admin-managed settings.

Consistency rules enforced in the route handler (matches the DB CHECK):

  • lifecycle_type='cyclical' → cycle_start_mode must be non-null after update
  • lifecycle_type='trigger_based' → trigger_types must contain ≥1 entry after update
lifecycle_type
enum<string> | null
Available options:
cyclical,
trigger_based
requires_brand
enum<string> | null
Available options:
yes,
no,
optional
chat_enabled
boolean | null
cycle_start_mode
enum<string> | null
Available options:
strategy,
briefing_form
trigger_types
enum<string>[] | null
Available options:
task,
strategy,
briefing_form,
file_upload
brief_template_override
string | null
Maximum string length: 10000
note
string | null
Maximum string length: 500

Response

Successful Response