v2
latestOpenAPI 3.0.02026-08-073221853.1 MBUsers
Update team
Replace the team definition. Use GET to fetch current data if you intend to add fields without overwriting existing values.
patch/console/v1/users/teams/{id}
Path parameters
idstring required
id
Request body
Response
Update team response
Example response
{
"message": "Team updated successfully.",
"data": {
"name": "The Avengers",
"members": [
{
"userID": "5sgBiiuoBX4fscrWdCXVma",
"email": "test@statsig.com",
"firstName": "test",
"lastName": "user",
"role": "admin"
}
],
"admins": [],
"defaultGateMetrics": [
{
"name": "A metric for asd ",
"type": "event_count_custom"
}
],
"defaultExperimentPrimaryMetrics": [
{
"name": "A metric for aaaa ",
"type": "event_count_custom"
}
],
"defaultExperimentSecondaryMetrics": [],
"defaultHoldoutMetrics": [],
"changeTeamConfigs": "anyone",
"reviewApproval": "anyone",
"defaultTargetApplications": [
"Android"
]
}
}