v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
Teams

Get a team hierarchy link

Get a single team hierarchy link for the given link_id.

get/api/v2/team-hierarchy-links/{link_id}

Path parameters

link_idstring required

The team hierarchy link's identifier

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"
    }
  ]
}