---
title: "Get all users in a team"
method: GET
path: "/legacyTeams/{id}/users"
tags: ["LegacyTeams"]
deprecated: true
---

# Get all users in a team

`GET /legacyTeams/{id}/users`

> **Deprecated.**

Returns a list of all user IDs within a team.

## Path parameters

- `id` integer, required

## Response `200`

A list of user IDs within a team

- object
  - `success` boolean — If the response is successful or not
  - `data` integer[] — The list of user IDs

## Other responses

- `404` — Team with specified ID does not exist or is inaccessible

---

[API](https://skmtc.net/pipedrive/apis/pipedrive-api-v1.md) · [All operations](https://skmtc.net/pipedrive/apis/pipedrive-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pipedrive/pipedrive-api-v1/versions/bf863a979545/schema)
