Skip to main content
PATCH
Update Team. Ops: Replace. Use GET for current data if you intent to Add.

Authorizations

STATSIG-API-KEY
string
header
required

Headers

x-respect-review-settings
string

Optional header to respect review settings for mutation endpoints.

Path Parameters

id
string
required

id

Body

application/json
name
string

The name of the team.

description
string

Description of the team.

id
string

The ID of the team.

members
string[]

Array of member email addresses in the team.

admins
string[]

Array of admin email addresses in the team.

defaultGateMetrics
object[]

Default gate metrics for the team.

defaultExperimentPrimaryMetrics
object[]

Default primary metrics for experiments in the team.

defaultExperimentSecondaryMetrics
object[]

Default secondary metrics for experiments in the team.

defaultHoldoutMetrics
object[]

Default holdout metrics for the team.

changeTeamConfigs
enum<string>

Who can change team configurations: "anyone" or "team_only".

Available options:
anyone,
team_only
reviewApproval
enum<string>

Who can review and approve changes: "anyone", "team_only", or "admin_only".

Available options:
anyone,
team_only,
admin_only
defaultTargetApplications
string[]

Default target applications for the team.

defaultHoldoutID
string | null

Default holdout ID for the team, if applicable.

requireReviews
boolean | null

Whether reviews are required for changes, if applicable.

requireGateTemplates
boolean | null

Whether gate templates are required for the team, if applicable.

requireExperimentTemplates
boolean | null

Whether experiment templates are required for the team, if applicable.

requireDynamicConfigTemplates
boolean | null

Whether dynamic config templates are required for the team, if applicable.

Response

Update team response

message
string
required

A simple string explaining the result of the operation.

data
object
required

A single result.