# Teams

Group: People Management

[Open in the interactive reference](https://docs.api.lensing.ai/lensing/v1/groups/peopleTeams)

A team is a named group in the organization, placed in a hierarchy of parent and child teams.

A team has a name, a type, a lifespan, and an optional parent team. Its status comes from its start and end dates, and no endpoint sets it directly. A new team's name must be unique.

A team's members are separate records. There is no endpoint to add or remove a team's members.

## Endpoints

- [List teams](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/teams.html): `GET /people/teams`
- [Create a team](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/createTeam.html): `POST /people/teams`
- [Retrieve a team](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/getTeam.html): `GET /people/teams/{id}`
- [Update a team](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/updateTeam.html): `PATCH /people/teams/{id}`
- [Delete or deactivate a team](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/deleteTeam.html): `DELETE /people/teams/{id}`
