v1
latestOpenAPI 3.0.02026-07-141,4077,1665.2 MBTeams
Update a team
Update a team using the team's id. If the team_links relationship is present, the associated links are updated to be in the order they appear in the array, and any existing team links not present are removed.
patch/api/v2/team/{team_id}
Path parameters
team_idstring required
None
Request body
Example request
{
"data": {
"attributes": {
"avatar": "🥑",
"handle": "example-team",
"name": "Example Team"
},
"relationships": {
"team_links": {
"data": [
{
"id": "f9bb8444-af7f-11ec-ac2c-da7ad0900001",
"type": "team_links"
}
],
"links": {
"related": "/api/v2/team/c75a4a8e-20c7-11ee-a3a5-da7ad0900002/links"
}
}
},
"type": "team"
}
}Response
OK
Example response
{
"data": {
"attributes": {
"avatar": "🥑",
"handle": "example-team",
"name": "Example Team"
},
"id": "aeadc05e-98a8-11ec-ac2c-da7ad0900001",
"relationships": {
"team_links": {
"data": [
{
"id": "f9bb8444-af7f-11ec-ac2c-da7ad0900001",
"type": "team_links"
}
],
"links": {
"related": "/api/v2/team/c75a4a8e-20c7-11ee-a3a5-da7ad0900002/links"
}
},
"user_team_permissions": {
"data": {
"id": "UserTeamPermissions-aeadc05e-98a8-11ec-ac2c-da7ad0900001-416595",
"type": "user_team_permissions"
},
"links": {
"related": "/api/v2/team/c75a4a8e-20c7-11ee-a3a5-da7ad0900002/links"
}
}
},
"type": "team"
}
}