---
title: "List an RBAC team's users"
method: GET
path: "/api/permissions/v2/deployments/{deploymentId}/teams/{teamId}/members"
tags: ["TeamsService"]
---

# List an RBAC team's users

`GET /api/permissions/v2/deployments/{deploymentId}/teams/{teamId}/members`

## Request

- The document declares no server URL.
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
- TypeScript: <https://skmtc.dev/semgrep/apis/semgrep-web-app/docs/api/permissions/v2/deployments/:deploymentId/teams/:teamId/members/get.ts> (a function with typed inputs; its response is checked against the schema)

List the users assigned to a Role-Based Access Control team

## Path parameters

- `deploymentId` integer, required: The unique numerical identifier for the deployment.
- `teamId` integer, required: The unique numerical identifier for the team.

## Query parameters

- `limit` integer: Maximum number of items to return in a single page.
- `cursor` string: Opaque cursor used for pagination. If not provided the first page will be returned.

## Response `200`

OK

- ProtosPermissionsV2ListTeamUsersResponse
  - `deploymentId` string, int64: The unique numerical identifier for the deployment.
  - `teamId` string, int64: The unique numerical identifier for the team.
  - `users` ProtosPermissionsV2TeamUser[]: A list of users assigned to the team.
    - `userId` string, int64: The unique numerical identifier for the user.
    - `role` 'TEAM_ROLE_MEMBER' | 'TEAM_ROLE_MANAGER' | 'TEAM_ROLE_READONLY', enum: The role assigned to the user for this team. | value | description | |-------|---------------| | TEAM_ROLE_MEMBER | Indicates the user is a member of the team | | TEAM_ROLE_MANAGER | Indicates the user is a manager of the team | | TEAM_ROLE_READONLY | Indicates the user is a read-only member of the team |
  - `limit` string, int64: Maximum number of items to return in a single page.
  - `cursor` string: Opaque cursor used for pagination. If not provided the first page will be returned.

---

[API](https://skmtc.dev/semgrep/apis/semgrep-web-app.md) - [All operations](https://skmtc.dev/semgrep/apis/semgrep-web-app/llms.txt) - [OpenAPI document](https://skmtc.dev/semgrep/apis/semgrep-web-app/revisions/6483eeecd582?raw)
