Last updated 14 days ago
Use these operations to interact with team hierarchies in Cortex.
Your API key must have the Edit entities permission.
Edit entities
curl -L \ --url 'https://api.getcortexapp.com/api/v1/teams/relationships' \ --header 'Authorization: Bearer JWT'
{ "edges": [ { "childTeamTag": "text", "parentTeamTag": "text", "provider": "WORKDAY" } ] }
Supports only replace=true right now
true
curl -L \ --request PUT \ --url 'https://api.getcortexapp.com/api/v1/teams/relationships?replace=true' \ --header 'Authorization: Bearer JWT' \ --header 'Content-Type: application/json' \ --data '{ "edges": [ { "childTeamTag": "text", "parentTeamTag": "text" } ] }'