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"
}Teams
Create or update a team
Creates a new team when no ID is supplied (returns 201 with the created team), or updates an existing team’s name and/or parent when an ID is supplied (returns 200). A team cannot be moved beneath one of its own descendants.
Required scope: People.Write (Write access to people and teams)
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
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
Response
OK
Was this page helpful?
⌘I