---
title: Teams
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > API Reference > Teams
---

# Teams

View and manage teams within Datadog. See the [Teams page](https://docs.datadoghq.com/account_management/teams.md) for more information.

## List team connections →{% #list-team-connections %}

| Datadog site      | API endpoint                                              |
| ----------------- | --------------------------------------------------------- |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/team/connections |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/team/connections |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/team/connections      |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/team/connections      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/team/connections  |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/team/connections     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/team/connections |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/team/connections |

## Create team connections →{% #create-team-connections %}

| Datadog site      | API endpoint                                               |
| ----------------- | ---------------------------------------------------------- |
| ap1.datadoghq.com | POST https://api.ap1.datadoghq.com/api/v2/team/connections |
| ap2.datadoghq.com | POST https://api.ap2.datadoghq.com/api/v2/team/connections |
| app.datadoghq.eu  | POST https://api.datadoghq.eu/api/v2/team/connections      |
| app.ddog-gov.com  | POST https://api.ddog-gov.com/api/v2/team/connections      |
| us2.ddog-gov.com  | POST https://api.us2.ddog-gov.com/api/v2/team/connections  |
| app.datadoghq.com | POST https://api.datadoghq.com/api/v2/team/connections     |
| us3.datadoghq.com | POST https://api.us3.datadoghq.com/api/v2/team/connections |
| us5.datadoghq.com | POST https://api.us5.datadoghq.com/api/v2/team/connections |

## Delete team connections →{% #delete-team-connections %}

| Datadog site      | API endpoint                                                 |
| ----------------- | ------------------------------------------------------------ |
| ap1.datadoghq.com | DELETE https://api.ap1.datadoghq.com/api/v2/team/connections |
| ap2.datadoghq.com | DELETE https://api.ap2.datadoghq.com/api/v2/team/connections |
| app.datadoghq.eu  | DELETE https://api.datadoghq.eu/api/v2/team/connections      |
| app.ddog-gov.com  | DELETE https://api.ddog-gov.com/api/v2/team/connections      |
| us2.ddog-gov.com  | DELETE https://api.us2.ddog-gov.com/api/v2/team/connections  |
| app.datadoghq.com | DELETE https://api.datadoghq.com/api/v2/team/connections     |
| us3.datadoghq.com | DELETE https://api.us3.datadoghq.com/api/v2/team/connections |
| us5.datadoghq.com | DELETE https://api.us5.datadoghq.com/api/v2/team/connections |

## Get links for a team →{% #get-links-for-a-team %}

| Datadog site      | API endpoint                                                  |
| ----------------- | ------------------------------------------------------------- |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/team/{team_id}/links |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/team/{team_id}/links |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/team/{team_id}/links      |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/team/{team_id}/links      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/team/{team_id}/links  |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/team/{team_id}/links     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/team/{team_id}/links |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/team/{team_id}/links |

## Create a team link →{% #create-a-team-link %}

| Datadog site      | API endpoint                                                   |
| ----------------- | -------------------------------------------------------------- |
| ap1.datadoghq.com | POST https://api.ap1.datadoghq.com/api/v2/team/{team_id}/links |
| ap2.datadoghq.com | POST https://api.ap2.datadoghq.com/api/v2/team/{team_id}/links |
| app.datadoghq.eu  | POST https://api.datadoghq.eu/api/v2/team/{team_id}/links      |
| app.ddog-gov.com  | POST https://api.ddog-gov.com/api/v2/team/{team_id}/links      |
| us2.ddog-gov.com  | POST https://api.us2.ddog-gov.com/api/v2/team/{team_id}/links  |
| app.datadoghq.com | POST https://api.datadoghq.com/api/v2/team/{team_id}/links     |
| us3.datadoghq.com | POST https://api.us3.datadoghq.com/api/v2/team/{team_id}/links |
| us5.datadoghq.com | POST https://api.us5.datadoghq.com/api/v2/team/{team_id}/links |

## Get a team link →{% #get-a-team-link %}

| Datadog site      | API endpoint                                                            |
| ----------------- | ----------------------------------------------------------------------- |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/team/{team_id}/links/{link_id} |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/team/{team_id}/links/{link_id} |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/team/{team_id}/links/{link_id}      |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/team/{team_id}/links/{link_id}      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/team/{team_id}/links/{link_id}  |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/team/{team_id}/links/{link_id}     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/team/{team_id}/links/{link_id} |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/team/{team_id}/links/{link_id} |

## Update a team link →{% #update-a-team-link %}

| Datadog site      | API endpoint                                                              |
| ----------------- | ------------------------------------------------------------------------- |
| ap1.datadoghq.com | PATCH https://api.ap1.datadoghq.com/api/v2/team/{team_id}/links/{link_id} |
| ap2.datadoghq.com | PATCH https://api.ap2.datadoghq.com/api/v2/team/{team_id}/links/{link_id} |
| app.datadoghq.eu  | PATCH https://api.datadoghq.eu/api/v2/team/{team_id}/links/{link_id}      |
| app.ddog-gov.com  | PATCH https://api.ddog-gov.com/api/v2/team/{team_id}/links/{link_id}      |
| us2.ddog-gov.com  | PATCH https://api.us2.ddog-gov.com/api/v2/team/{team_id}/links/{link_id}  |
| app.datadoghq.com | PATCH https://api.datadoghq.com/api/v2/team/{team_id}/links/{link_id}     |
| us3.datadoghq.com | PATCH https://api.us3.datadoghq.com/api/v2/team/{team_id}/links/{link_id} |
| us5.datadoghq.com | PATCH https://api.us5.datadoghq.com/api/v2/team/{team_id}/links/{link_id} |

## Remove a team link →{% #remove-a-team-link %}

| Datadog site      | API endpoint                                                               |
| ----------------- | -------------------------------------------------------------------------- |
| ap1.datadoghq.com | DELETE https://api.ap1.datadoghq.com/api/v2/team/{team_id}/links/{link_id} |
| ap2.datadoghq.com | DELETE https://api.ap2.datadoghq.com/api/v2/team/{team_id}/links/{link_id} |
| app.datadoghq.eu  | DELETE https://api.datadoghq.eu/api/v2/team/{team_id}/links/{link_id}      |
| app.ddog-gov.com  | DELETE https://api.ddog-gov.com/api/v2/team/{team_id}/links/{link_id}      |
| us2.ddog-gov.com  | DELETE https://api.us2.ddog-gov.com/api/v2/team/{team_id}/links/{link_id}  |
| app.datadoghq.com | DELETE https://api.datadoghq.com/api/v2/team/{team_id}/links/{link_id}     |
| us3.datadoghq.com | DELETE https://api.us3.datadoghq.com/api/v2/team/{team_id}/links/{link_id} |
| us5.datadoghq.com | DELETE https://api.us5.datadoghq.com/api/v2/team/{team_id}/links/{link_id} |

## Get team memberships →{% #get-team-memberships %}

| Datadog site      | API endpoint                                                        |
| ----------------- | ------------------------------------------------------------------- |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/team/{team_id}/memberships |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/team/{team_id}/memberships |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/team/{team_id}/memberships      |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/team/{team_id}/memberships      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/team/{team_id}/memberships  |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/team/{team_id}/memberships     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/team/{team_id}/memberships |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/team/{team_id}/memberships |

## Add a user to a team →{% #add-a-user-to-a-team %}

| Datadog site      | API endpoint                                                         |
| ----------------- | -------------------------------------------------------------------- |
| ap1.datadoghq.com | POST https://api.ap1.datadoghq.com/api/v2/team/{team_id}/memberships |
| ap2.datadoghq.com | POST https://api.ap2.datadoghq.com/api/v2/team/{team_id}/memberships |
| app.datadoghq.eu  | POST https://api.datadoghq.eu/api/v2/team/{team_id}/memberships      |
| app.ddog-gov.com  | POST https://api.ddog-gov.com/api/v2/team/{team_id}/memberships      |
| us2.ddog-gov.com  | POST https://api.us2.ddog-gov.com/api/v2/team/{team_id}/memberships  |
| app.datadoghq.com | POST https://api.datadoghq.com/api/v2/team/{team_id}/memberships     |
| us3.datadoghq.com | POST https://api.us3.datadoghq.com/api/v2/team/{team_id}/memberships |
| us5.datadoghq.com | POST https://api.us5.datadoghq.com/api/v2/team/{team_id}/memberships |

## Remove a user from a team →{% #remove-a-user-from-a-team %}

| Datadog site      | API endpoint                                                                     |
| ----------------- | -------------------------------------------------------------------------------- |
| ap1.datadoghq.com | DELETE https://api.ap1.datadoghq.com/api/v2/team/{team_id}/memberships/{user_id} |
| ap2.datadoghq.com | DELETE https://api.ap2.datadoghq.com/api/v2/team/{team_id}/memberships/{user_id} |
| app.datadoghq.eu  | DELETE https://api.datadoghq.eu/api/v2/team/{team_id}/memberships/{user_id}      |
| app.ddog-gov.com  | DELETE https://api.ddog-gov.com/api/v2/team/{team_id}/memberships/{user_id}      |
| us2.ddog-gov.com  | DELETE https://api.us2.ddog-gov.com/api/v2/team/{team_id}/memberships/{user_id}  |
| app.datadoghq.com | DELETE https://api.datadoghq.com/api/v2/team/{team_id}/memberships/{user_id}     |
| us3.datadoghq.com | DELETE https://api.us3.datadoghq.com/api/v2/team/{team_id}/memberships/{user_id} |
| us5.datadoghq.com | DELETE https://api.us5.datadoghq.com/api/v2/team/{team_id}/memberships/{user_id} |

## Update a user's membership attributes on a team →{% #update-a-users-membership-attributes-on-a-team %}

| Datadog site      | API endpoint                                                                    |
| ----------------- | ------------------------------------------------------------------------------- |
| ap1.datadoghq.com | PATCH https://api.ap1.datadoghq.com/api/v2/team/{team_id}/memberships/{user_id} |
| ap2.datadoghq.com | PATCH https://api.ap2.datadoghq.com/api/v2/team/{team_id}/memberships/{user_id} |
| app.datadoghq.eu  | PATCH https://api.datadoghq.eu/api/v2/team/{team_id}/memberships/{user_id}      |
| app.ddog-gov.com  | PATCH https://api.ddog-gov.com/api/v2/team/{team_id}/memberships/{user_id}      |
| us2.ddog-gov.com  | PATCH https://api.us2.ddog-gov.com/api/v2/team/{team_id}/memberships/{user_id}  |
| app.datadoghq.com | PATCH https://api.datadoghq.com/api/v2/team/{team_id}/memberships/{user_id}     |
| us3.datadoghq.com | PATCH https://api.us3.datadoghq.com/api/v2/team/{team_id}/memberships/{user_id} |
| us5.datadoghq.com | PATCH https://api.us5.datadoghq.com/api/v2/team/{team_id}/memberships/{user_id} |

## Get team notification rules →{% #get-team-notification-rules %}

| Datadog site      | API endpoint                                                               |
| ----------------- | -------------------------------------------------------------------------- |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/team/{team_id}/notification-rules |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/team/{team_id}/notification-rules |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/team/{team_id}/notification-rules      |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/team/{team_id}/notification-rules      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/team/{team_id}/notification-rules  |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/team/{team_id}/notification-rules     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/team/{team_id}/notification-rules |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/team/{team_id}/notification-rules |

## Create team notification rule →{% #create-team-notification-rule %}

| Datadog site      | API endpoint                                                                |
| ----------------- | --------------------------------------------------------------------------- |
| ap1.datadoghq.com | POST https://api.ap1.datadoghq.com/api/v2/team/{team_id}/notification-rules |
| ap2.datadoghq.com | POST https://api.ap2.datadoghq.com/api/v2/team/{team_id}/notification-rules |
| app.datadoghq.eu  | POST https://api.datadoghq.eu/api/v2/team/{team_id}/notification-rules      |
| app.ddog-gov.com  | POST https://api.ddog-gov.com/api/v2/team/{team_id}/notification-rules      |
| us2.ddog-gov.com  | POST https://api.us2.ddog-gov.com/api/v2/team/{team_id}/notification-rules  |
| app.datadoghq.com | POST https://api.datadoghq.com/api/v2/team/{team_id}/notification-rules     |
| us3.datadoghq.com | POST https://api.us3.datadoghq.com/api/v2/team/{team_id}/notification-rules |
| us5.datadoghq.com | POST https://api.us5.datadoghq.com/api/v2/team/{team_id}/notification-rules |

## Get team notification rule →{% #get-team-notification-rule %}

| Datadog site      | API endpoint                                                                         |
| ----------------- | ------------------------------------------------------------------------------------ |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/team/{team_id}/notification-rules/{rule_id} |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/team/{team_id}/notification-rules/{rule_id} |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/team/{team_id}/notification-rules/{rule_id}      |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/team/{team_id}/notification-rules/{rule_id}      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/team/{team_id}/notification-rules/{rule_id}  |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/team/{team_id}/notification-rules/{rule_id}     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/team/{team_id}/notification-rules/{rule_id} |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/team/{team_id}/notification-rules/{rule_id} |

## Update team notification rule →{% #update-team-notification-rule %}

| Datadog site      | API endpoint                                                                         |
| ----------------- | ------------------------------------------------------------------------------------ |
| ap1.datadoghq.com | PUT https://api.ap1.datadoghq.com/api/v2/team/{team_id}/notification-rules/{rule_id} |
| ap2.datadoghq.com | PUT https://api.ap2.datadoghq.com/api/v2/team/{team_id}/notification-rules/{rule_id} |
| app.datadoghq.eu  | PUT https://api.datadoghq.eu/api/v2/team/{team_id}/notification-rules/{rule_id}      |
| app.ddog-gov.com  | PUT https://api.ddog-gov.com/api/v2/team/{team_id}/notification-rules/{rule_id}      |
| us2.ddog-gov.com  | PUT https://api.us2.ddog-gov.com/api/v2/team/{team_id}/notification-rules/{rule_id}  |
| app.datadoghq.com | PUT https://api.datadoghq.com/api/v2/team/{team_id}/notification-rules/{rule_id}     |
| us3.datadoghq.com | PUT https://api.us3.datadoghq.com/api/v2/team/{team_id}/notification-rules/{rule_id} |
| us5.datadoghq.com | PUT https://api.us5.datadoghq.com/api/v2/team/{team_id}/notification-rules/{rule_id} |

## Delete team notification rule →{% #delete-team-notification-rule %}

| Datadog site      | API endpoint                                                                            |
| ----------------- | --------------------------------------------------------------------------------------- |
| ap1.datadoghq.com | DELETE https://api.ap1.datadoghq.com/api/v2/team/{team_id}/notification-rules/{rule_id} |
| ap2.datadoghq.com | DELETE https://api.ap2.datadoghq.com/api/v2/team/{team_id}/notification-rules/{rule_id} |
| app.datadoghq.eu  | DELETE https://api.datadoghq.eu/api/v2/team/{team_id}/notification-rules/{rule_id}      |
| app.ddog-gov.com  | DELETE https://api.ddog-gov.com/api/v2/team/{team_id}/notification-rules/{rule_id}      |
| us2.ddog-gov.com  | DELETE https://api.us2.ddog-gov.com/api/v2/team/{team_id}/notification-rules/{rule_id}  |
| app.datadoghq.com | DELETE https://api.datadoghq.com/api/v2/team/{team_id}/notification-rules/{rule_id}     |
| us3.datadoghq.com | DELETE https://api.us3.datadoghq.com/api/v2/team/{team_id}/notification-rules/{rule_id} |
| us5.datadoghq.com | DELETE https://api.us5.datadoghq.com/api/v2/team/{team_id}/notification-rules/{rule_id} |

## Get permission settings for a team →{% #get-permission-settings-for-a-team %}

| Datadog site      | API endpoint                                                                |
| ----------------- | --------------------------------------------------------------------------- |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/team/{team_id}/permission-settings |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/team/{team_id}/permission-settings |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/team/{team_id}/permission-settings      |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/team/{team_id}/permission-settings      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/team/{team_id}/permission-settings  |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/team/{team_id}/permission-settings     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/team/{team_id}/permission-settings |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/team/{team_id}/permission-settings |

## Update permission setting for team →{% #update-permission-setting-for-team %}

| Datadog site      | API endpoint                                                                         |
| ----------------- | ------------------------------------------------------------------------------------ |
| ap1.datadoghq.com | PUT https://api.ap1.datadoghq.com/api/v2/team/{team_id}/permission-settings/{action} |
| ap2.datadoghq.com | PUT https://api.ap2.datadoghq.com/api/v2/team/{team_id}/permission-settings/{action} |
| app.datadoghq.eu  | PUT https://api.datadoghq.eu/api/v2/team/{team_id}/permission-settings/{action}      |
| app.ddog-gov.com  | PUT https://api.ddog-gov.com/api/v2/team/{team_id}/permission-settings/{action}      |
| us2.ddog-gov.com  | PUT https://api.us2.ddog-gov.com/api/v2/team/{team_id}/permission-settings/{action}  |
| app.datadoghq.com | PUT https://api.datadoghq.com/api/v2/team/{team_id}/permission-settings/{action}     |
| us3.datadoghq.com | PUT https://api.us3.datadoghq.com/api/v2/team/{team_id}/permission-settings/{action} |
| us5.datadoghq.com | PUT https://api.us5.datadoghq.com/api/v2/team/{team_id}/permission-settings/{action} |

## Get all teams →{% #get-all-teams %}

| Datadog site      | API endpoint                                  |
| ----------------- | --------------------------------------------- |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/team |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/team |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/team      |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/team      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/team  |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/team     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/team |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/team |

## Create a team →{% #create-a-team %}

| Datadog site      | API endpoint                                   |
| ----------------- | ---------------------------------------------- |
| ap1.datadoghq.com | POST https://api.ap1.datadoghq.com/api/v2/team |
| ap2.datadoghq.com | POST https://api.ap2.datadoghq.com/api/v2/team |
| app.datadoghq.eu  | POST https://api.datadoghq.eu/api/v2/team      |
| app.ddog-gov.com  | POST https://api.ddog-gov.com/api/v2/team      |
| us2.ddog-gov.com  | POST https://api.us2.ddog-gov.com/api/v2/team  |
| app.datadoghq.com | POST https://api.datadoghq.com/api/v2/team     |
| us3.datadoghq.com | POST https://api.us3.datadoghq.com/api/v2/team |
| us5.datadoghq.com | POST https://api.us5.datadoghq.com/api/v2/team |

## Get team sync configurations →{% #get-team-sync-configurations %}

| Datadog site      | API endpoint                                       |
| ----------------- | -------------------------------------------------- |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/team/sync |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/team/sync |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/team/sync      |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/team/sync      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/team/sync  |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/team/sync     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/team/sync |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/team/sync |

## Link Teams with GitHub Teams →{% #link-teams-with-github-teams %}

| Datadog site      | API endpoint                                        |
| ----------------- | --------------------------------------------------- |
| ap1.datadoghq.com | POST https://api.ap1.datadoghq.com/api/v2/team/sync |
| ap2.datadoghq.com | POST https://api.ap2.datadoghq.com/api/v2/team/sync |
| app.datadoghq.eu  | POST https://api.datadoghq.eu/api/v2/team/sync      |
| app.ddog-gov.com  | POST https://api.ddog-gov.com/api/v2/team/sync      |
| us2.ddog-gov.com  | POST https://api.us2.ddog-gov.com/api/v2/team/sync  |
| app.datadoghq.com | POST https://api.datadoghq.com/api/v2/team/sync     |
| us3.datadoghq.com | POST https://api.us3.datadoghq.com/api/v2/team/sync |
| us5.datadoghq.com | POST https://api.us5.datadoghq.com/api/v2/team/sync |

## Get a team →{% #get-a-team %}

| Datadog site      | API endpoint                                            |
| ----------------- | ------------------------------------------------------- |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/team/{team_id} |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/team/{team_id} |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/team/{team_id}      |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/team/{team_id}      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/team/{team_id}  |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/team/{team_id}     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/team/{team_id} |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/team/{team_id} |

## Update a team →{% #update-a-team %}

| Datadog site      | API endpoint                                              |
| ----------------- | --------------------------------------------------------- |
| ap1.datadoghq.com | PATCH https://api.ap1.datadoghq.com/api/v2/team/{team_id} |
| ap2.datadoghq.com | PATCH https://api.ap2.datadoghq.com/api/v2/team/{team_id} |
| app.datadoghq.eu  | PATCH https://api.datadoghq.eu/api/v2/team/{team_id}      |
| app.ddog-gov.com  | PATCH https://api.ddog-gov.com/api/v2/team/{team_id}      |
| us2.ddog-gov.com  | PATCH https://api.us2.ddog-gov.com/api/v2/team/{team_id}  |
| app.datadoghq.com | PATCH https://api.datadoghq.com/api/v2/team/{team_id}     |
| us3.datadoghq.com | PATCH https://api.us3.datadoghq.com/api/v2/team/{team_id} |
| us5.datadoghq.com | PATCH https://api.us5.datadoghq.com/api/v2/team/{team_id} |

## Remove a team →{% #remove-a-team %}

| Datadog site      | API endpoint                                               |
| ----------------- | ---------------------------------------------------------- |
| ap1.datadoghq.com | DELETE https://api.ap1.datadoghq.com/api/v2/team/{team_id} |
| ap2.datadoghq.com | DELETE https://api.ap2.datadoghq.com/api/v2/team/{team_id} |
| app.datadoghq.eu  | DELETE https://api.datadoghq.eu/api/v2/team/{team_id}      |
| app.ddog-gov.com  | DELETE https://api.ddog-gov.com/api/v2/team/{team_id}      |
| us2.ddog-gov.com  | DELETE https://api.us2.ddog-gov.com/api/v2/team/{team_id}  |
| app.datadoghq.com | DELETE https://api.datadoghq.com/api/v2/team/{team_id}     |
| us3.datadoghq.com | DELETE https://api.us3.datadoghq.com/api/v2/team/{team_id} |
| us5.datadoghq.com | DELETE https://api.us5.datadoghq.com/api/v2/team/{team_id} |

## Get all member teams → deprecated preview{% #get-all-member-teams %}

| Datadog site      | API endpoint                                                               |
| ----------------- | -------------------------------------------------------------------------- |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/team/{super_team_id}/member_teams |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/team/{super_team_id}/member_teams |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/team/{super_team_id}/member_teams      |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/team/{super_team_id}/member_teams      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/team/{super_team_id}/member_teams  |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/team/{super_team_id}/member_teams     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/team/{super_team_id}/member_teams |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/team/{super_team_id}/member_teams |

## Add a member team → deprecated preview{% #add-a-member-team %}

| Datadog site      | API endpoint                                                                |
| ----------------- | --------------------------------------------------------------------------- |
| ap1.datadoghq.com | POST https://api.ap1.datadoghq.com/api/v2/team/{super_team_id}/member_teams |
| ap2.datadoghq.com | POST https://api.ap2.datadoghq.com/api/v2/team/{super_team_id}/member_teams |
| app.datadoghq.eu  | POST https://api.datadoghq.eu/api/v2/team/{super_team_id}/member_teams      |
| app.ddog-gov.com  | POST https://api.ddog-gov.com/api/v2/team/{super_team_id}/member_teams      |
| us2.ddog-gov.com  | POST https://api.us2.ddog-gov.com/api/v2/team/{super_team_id}/member_teams  |
| app.datadoghq.com | POST https://api.datadoghq.com/api/v2/team/{super_team_id}/member_teams     |
| us3.datadoghq.com | POST https://api.us3.datadoghq.com/api/v2/team/{super_team_id}/member_teams |
| us5.datadoghq.com | POST https://api.us5.datadoghq.com/api/v2/team/{super_team_id}/member_teams |

## Remove a member team → deprecated preview{% #remove-a-member-team %}

| Datadog site      | API endpoint                                                                                   |
| ----------------- | ---------------------------------------------------------------------------------------------- |
| ap1.datadoghq.com | DELETE https://api.ap1.datadoghq.com/api/v2/team/{super_team_id}/member_teams/{member_team_id} |
| ap2.datadoghq.com | DELETE https://api.ap2.datadoghq.com/api/v2/team/{super_team_id}/member_teams/{member_team_id} |
| app.datadoghq.eu  | DELETE https://api.datadoghq.eu/api/v2/team/{super_team_id}/member_teams/{member_team_id}      |
| app.ddog-gov.com  | DELETE https://api.ddog-gov.com/api/v2/team/{super_team_id}/member_teams/{member_team_id}      |
| us2.ddog-gov.com  | DELETE https://api.us2.ddog-gov.com/api/v2/team/{super_team_id}/member_teams/{member_team_id}  |
| app.datadoghq.com | DELETE https://api.datadoghq.com/api/v2/team/{super_team_id}/member_teams/{member_team_id}     |
| us3.datadoghq.com | DELETE https://api.us3.datadoghq.com/api/v2/team/{super_team_id}/member_teams/{member_team_id} |
| us5.datadoghq.com | DELETE https://api.us5.datadoghq.com/api/v2/team/{super_team_id}/member_teams/{member_team_id} |

## Get team hierarchy links →{% #get-team-hierarchy-links %}

| Datadog site      | API endpoint                                                  |
| ----------------- | ------------------------------------------------------------- |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/team-hierarchy-links |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/team-hierarchy-links |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/team-hierarchy-links      |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/team-hierarchy-links      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/team-hierarchy-links  |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/team-hierarchy-links     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/team-hierarchy-links |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/team-hierarchy-links |

## Create a team hierarchy link →{% #create-a-team-hierarchy-link %}

| Datadog site      | API endpoint                                                   |
| ----------------- | -------------------------------------------------------------- |
| ap1.datadoghq.com | POST https://api.ap1.datadoghq.com/api/v2/team-hierarchy-links |
| ap2.datadoghq.com | POST https://api.ap2.datadoghq.com/api/v2/team-hierarchy-links |
| app.datadoghq.eu  | POST https://api.datadoghq.eu/api/v2/team-hierarchy-links      |
| app.ddog-gov.com  | POST https://api.ddog-gov.com/api/v2/team-hierarchy-links      |
| us2.ddog-gov.com  | POST https://api.us2.ddog-gov.com/api/v2/team-hierarchy-links  |
| app.datadoghq.com | POST https://api.datadoghq.com/api/v2/team-hierarchy-links     |
| us3.datadoghq.com | POST https://api.us3.datadoghq.com/api/v2/team-hierarchy-links |
| us5.datadoghq.com | POST https://api.us5.datadoghq.com/api/v2/team-hierarchy-links |

## Get a team hierarchy link →{% #get-a-team-hierarchy-link %}

| Datadog site      | API endpoint                                                            |
| ----------------- | ----------------------------------------------------------------------- |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/team-hierarchy-links/{link_id} |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/team-hierarchy-links/{link_id} |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/team-hierarchy-links/{link_id}      |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/team-hierarchy-links/{link_id}      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/team-hierarchy-links/{link_id}  |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/team-hierarchy-links/{link_id}     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/team-hierarchy-links/{link_id} |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/team-hierarchy-links/{link_id} |

## Remove a team hierarchy link →{% #remove-a-team-hierarchy-link %}

| Datadog site      | API endpoint                                                               |
| ----------------- | -------------------------------------------------------------------------- |
| ap1.datadoghq.com | DELETE https://api.ap1.datadoghq.com/api/v2/team-hierarchy-links/{link_id} |
| ap2.datadoghq.com | DELETE https://api.ap2.datadoghq.com/api/v2/team-hierarchy-links/{link_id} |
| app.datadoghq.eu  | DELETE https://api.datadoghq.eu/api/v2/team-hierarchy-links/{link_id}      |
| app.ddog-gov.com  | DELETE https://api.ddog-gov.com/api/v2/team-hierarchy-links/{link_id}      |
| us2.ddog-gov.com  | DELETE https://api.us2.ddog-gov.com/api/v2/team-hierarchy-links/{link_id}  |
| app.datadoghq.com | DELETE https://api.datadoghq.com/api/v2/team-hierarchy-links/{link_id}     |
| us3.datadoghq.com | DELETE https://api.us3.datadoghq.com/api/v2/team-hierarchy-links/{link_id} |
| us5.datadoghq.com | DELETE https://api.us5.datadoghq.com/api/v2/team-hierarchy-links/{link_id} |

## Get user memberships →{% #get-user-memberships %}

| Datadog site      | API endpoint                                                           |
| ----------------- | ---------------------------------------------------------------------- |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/users/{user_uuid}/memberships |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/users/{user_uuid}/memberships |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/users/{user_uuid}/memberships      |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/users/{user_uuid}/memberships      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/users/{user_uuid}/memberships  |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/users/{user_uuid}/memberships     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/users/{user_uuid}/memberships |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/users/{user_uuid}/memberships |
