v1
latestOpenAPI 3.0.02026-07-141,4077,1665.2 MBTeams
Create a team hierarchy link
Create a new team hierarchy link between a parent team and a sub team.
post/api/v2/team-hierarchy-links
Request body
Example request
{
"data": {
"relationships": {
"parent_team": {
"data": {
"id": "692e8073-12c4-4c71-8408-5090bd44c9c8",
"type": "team"
}
},
"sub_team": {
"data": {
"id": "692e8073-12c4-4c71-8408-5090bd44c9c8",
"type": "team"
}
}
},
"type": "team_hierarchy_links"
}
}Response
OK
Example response
{
"data": {
"attributes": {
"provisioned_by": "system"
},
"id": "b8626d7e-cedd-11eb-abf5-da7ad0900001",
"relationships": {
"parent_team": {
"data": {
"attributes": {
"handle": "team-handle",
"name": "Team Name"
},
"id": "692e8073-12c4-4c71-8408-5090bd44c9c8",
"type": "team"
}
},
"sub_team": {
"data": {
"attributes": {
"handle": "team-handle",
"name": "Team Name"
},
"id": "692e8073-12c4-4c71-8408-5090bd44c9c8",
"type": "team"
}
}
},
"type": "team_hierarchy_links"
},
"included": [
{
"attributes": {
"handle": "team-handle",
"name": "Team Name"
},
"id": "692e8073-12c4-4c71-8408-5090bd44c9c8",
"type": "team"
}
]
}