> ## Documentation Index
> Fetch the complete documentation index at: https://docs.open-metadata.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Teams

> Create and manage teams for organizing users and controlling access

# Teams

A **Team** is an organizational unit used to group users and control access to data assets. Teams support a hierarchical structure that mirrors your organization.

> [!NOTE]
>
> Entity schema follows the [OpenMetadata Standard](https://openmetadatastandards.org/teams-users/team/).

## Entity Hierarchy

Teams can be nested in a strict hierarchy:

```txt Team Hierarchy theme={null}
Organization
└── BusinessUnit
    └── Division
        └── Department
            └── Group (this is the most common team type)
```

## Team Types

| Type | Description |
| - | - |
| `Organization` | Top-level entity representing the entire organization |
| `BusinessUnit` | A major business unit within the organization |
| `Division` | A division within a business unit |
| `Department` | A department within a division |
| `Group` | The most granular team type, typically used for day-to-day access control |

## Fully Qualified Name

The FQN format for a team is simply:

```
teamName
```

For example: `Accounting`

***

## API Endpoints

| Method | Endpoint | Description |
| - | - | - |
| `POST` | `/v1/teams` | [Create a team](https://docs.open-metadata.org/v2.1.x/api-reference/teams-and-users/teams/create.md) |
| `GET` | `/v1/teams` | [List teams](https://docs.open-metadata.org/v2.1.x/api-reference/teams-and-users/teams/list.md) |
| `GET` | `/v1/teams/{id}` | [Get by ID](https://docs.open-metadata.org/v2.1.x/api-reference/teams-and-users/teams/retrieve.md) |
| `GET` | `/v1/teams/name/{fqn}` | [Get by FQN](https://docs.open-metadata.org/v2.1.x/api-reference/teams-and-users/teams/retrieve.md) |
| `PATCH` | `/v1/teams/{id}` | [Update by ID](https://docs.open-metadata.org/v2.1.x/api-reference/teams-and-users/teams/update.md) |
| `DELETE` | `/v1/teams/{id}` | [Delete by ID](https://docs.open-metadata.org/v2.1.x/api-reference/teams-and-users/teams/delete.md) |
| `PUT` | `/v1/teams/restore` | [Restore soft-deleted team](https://docs.open-metadata.org/v2.1.x/api-reference/teams-and-users/teams/delete.md) |
| `GET` | `/v1/teams/{id}/versions` | [List versions](https://docs.open-metadata.org/v2.1.x/api-reference/teams-and-users/teams/versions.md) |
| `GET` | `/v1/teams/{id}/versions/{version}` | [Get specific version](https://docs.open-metadata.org/v2.1.x/api-reference/teams-and-users/teams/versions.md) |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.