Team Hierarchies
Use these operations to interact with team hierarchies in Cortex.
Required permissions
Your API key must have the Edit entities permission.
Operations
All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.
Successfully found team relationships
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
GET /api/v1/teams/relationships HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"edges": [
{
"childTeamTag": "text",
"parentTeamTag": "text",
"provider": "WORKDAY"
}
]
}All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.
Supports only replace=true right now
falseExample: trueSuccessfully created team relationships
Bad Request
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
PUT /api/v1/teams/relationships?replace=false HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 58
{
"edges": [
{
"childTeamTag": "text",
"parentTeamTag": "text"
}
]
}{
"edges": [
{
"childTeamTag": "text",
"parentTeamTag": "text",
"provider": "WORKDAY"
}
]
}Last updated
Was this helpful?