Skip to main content
PUT
/
api
/
people
/
v1
/
teams
Create or update a team
curl --request PUT \
  --url https://app.trelica.com/api/people/v1/teams \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "parentId": "65207c3ffa0d2abb07955315",
  "id": "65207c3ffa0d2abb07955316",
  "name": "Customer Success"
}
'
{
  "parentId": "65207c3ffa0d2abb07955315",
  "id": "65207c3ffa0d2abb07955316",
  "name": "Customer Success"
}

Authorizations

Authorization
string
header
required

OAuth 2.0. Obtain an access token via the Client Credentials or Authorization Code flow, then send it as Authorization: Bearer <token>.

Body

application/json

A team together with its parent team ID

parentId
string | null

The ID of the parent team, or null for a root team

id
string | null

The team's unique ID. Omit when creating a team by name.

name
string | null

The team's name

Response

OK