Teams
Create team connections
Create multiple team connections.
post/api/v2/team/connections
Request
- Base URLhttps://api.datadoghq.com
- URLhttps://api.datadoghq.com/api/v2/team/connections
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code: /oauth2/v1/authorizeToken URL: /oauth2/v1/token scopes: teams_read
Request body
Example request
{
"data": [
{
"attributes": {
"managed_by": "github_sync",
"source": "github"
},
"relationships": {
"connected_team": {
"data": {
"id": "@GitHubOrg/team-handle",
"type": "github_team"
}
},
"team": {
"data": {
"id": "87654321-4321-8765-dcba-210987654321",
"type": "team"
}
}
},
"type": "team_connection"
}
]
}Response
Created
Example response
{
"data": [
{
"attributes": {
"managed_by": "github_sync",
"source": "github"
},
"id": "12345678-1234-5678-9abc-123456789012",
"relationships": {
"connected_team": {
"data": {
"id": "@GitHubOrg/team-handle",
"type": "github_team"
}
},
"team": {
"data": {
"id": "87654321-4321-8765-dcba-210987654321",
"type": "team"
}
}
},
"type": "team_connection"
}
],
"meta": {
"page": {
"type": "number_size"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.