Users
Update team
Changed onReplace 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}
Request
- Base URLhttps://statsigapi.net
- URLhttps://statsigapi.net/console/v1/users/teams/{id}
- AuthAPI key in header STATSIG-API-KEY
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"
]
}
}Changes
- info
added the required property
////to the response with the status - info
added the required property
////to the response with the status
- info