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
GET /api/v1/teams/relationships HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer JWT
Accept: */*
{
"edges": [
{
"childTeamTag": "text",
"parentTeamTag": "text",
"provider": "WORKDAY"
}
]
}
Authorizations
Query parameters
replacebooleanRequiredDefault:
Supports only replace=true right now
false
Example: true
Body
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
PUT /api/v1/teams/relationships HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer JWT
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?