Team Hierarchies
Use these operations to interact with team hierarchies in Cortex.
Required permissions
Your API key must have the Edit entities permission.
Operations
Authorizations
Responses
200
Successfully found team relationships
application/json
429
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
application/problem+json
get
/api/v1/teams/relationshipsGET /api/v1/teams/relationships HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"edges": [
{
"childTeamTag": "text",
"parentTeamTag": "text",
"provider": "WORKDAY"
}
]
}Authorizations
Query parameters
replacebooleanRequiredDefault:
Supports only replace=true right now
falseExample: trueBody
Responses
200
Successfully created team relationships
application/json
400
Bad Request
application/json
429
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
application/problem+json
put
/api/v1/teams/relationshipsPUT /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?