PATCH
/
v1
/
core
/
organizations
/
{orgId}
/
teams
/
{teamId}
Update a single team within a single org
curl --request PATCH \
  --url https://us-central1-siro-prod.cloudfunctions.net/api-externalApi/v1/core/organizations/{orgId}/teams/{teamId} \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "coachUids": [
    "<string>"
  ],
  "memberUids": [
    "<string>"
  ],
  "newUserDefaultConversationTypes": [
    "<string>"
  ]
}'
{
  "id": "<string>",
  "name": "<string>",
  "organizationId": "<string>",
  "coachUids": [
    "<string>"
  ],
  "coachManifest": {},
  "memberUids": [
    "<string>"
  ],
  "memberManifest": {},
  "newUserDefaultConversationTypes": [
    "<string>"
  ],
  "createdAt": "<string>"
}

Path Parameters

orgId
string
required

Organization ID

teamId
string
required

ID of the team to update

Body

application/json
name
string

New team name

coachUids
string[]

New array of coach user IDs

memberUids
string[]

New array of member user IDs

newUserDefaultConversationTypes
string[]

New array of conversation type IDs

Response

Update a single team within a single org

id
string
required

Team ID

name
string | null
required

Team name

organizationId
string
required

Organization this team belongs to

coachUids
string[]
required

Array of coach user IDs

coachManifest
object
required

Map of coach UIDs to their manifest data

memberUids
string[]
required

Array of member user IDs

memberManifest
object
required

Map of member UIDs to their manifest data

newUserDefaultConversationTypes
string[]
required

Array of conversation type IDs

createdAt
string | null
required

ISO 8601 date string