Skip to main content
PATCH
/
api
/
v1
/
admin
/
teams
/
{slug}
/
settings
Admin Update Team Settings
curl --request PATCH \
  --url https://api.example.com/api/v1/admin/teams/{slug}/settings \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "chat_enabled": true,
  "trigger_types": [],
  "brief_template_override": "<string>",
  "note": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.aitasker.co/llms.txt

Use this file to discover all available pages before exploring further.

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