---
title: "Add a member team"
method: POST
path: "/api/v2/team/{super_team_id}/member_teams"
tags: ["Teams"]
deprecated: true
---

# Add a member team

`POST /api/v2/team/{super_team_id}/member_teams`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/team/{super_team_id}/member_teams`
- Auth: one of:
  - API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`
  - OAuth 2
    - Authorization code: `/oauth2/v1/authorize`
    - Token URL: `/oauth2/v1/token` scopes: `teams_read`

> **Deprecated.**

Add a member team.
Adds the team given by the `id` in the body as a member team of the super team.

**Note**: This API is deprecated. For creating team hierarchy links, use the team hierarchy links API: `POST /api/v2/team-hierarchy-links`.

## Path parameters

- `super_team_id` string, required

## Request body

- AddMemberTeamRequest: Request to add a member team to super team's hierarchy
  - `data` MemberTeam, required: A member team
    - `id` string, required: The member team's identifier
    - `type` 'member_teams', required: Member team type

## Response `204`

Added

## Other responses

- `403`: Forbidden
- `409`: API error response.
- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/da68bf029e4c?raw)
