---
title: "List teams"
method: GET
path: "/user-service/teams"
tags: ["Teams"]
---

# List teams

`GET /user-service/teams`

Retrieve a list of teams for the specified account

## Query parameters

- `limit` integer
- `offset` integer
- `search` string
- `role_ids` string[]

## Response `200`

Array of teams

- TeamListResponse
  - `teams` Team[]
    - `id` string, uuid, required — Unique identifier for the team
    - `account_id` string, required — Account identifier this team belongs to
    - `name` string, required — Team name
    - `description` string, nullable — Team description
    - `users` object[] — List of users with their IDs and names
      - `id` string, uuid — User ID
      - `name` string — User name
    - `attached_role_ids` string[] — List of role IDs assigned to this team
    - `created_at` string, date-time, required — When the team was created
    - `updated_at` string, date-time, required — When the team was last updated
  - `total_count` integer — Total number of teams matching the filter criteria

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.net/firefly/apis/firefly-user-management-service-api.md) · [All operations](https://skmtc.net/firefly/apis/firefly-user-management-service-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/firefly/firefly-user-management-service-api/revisions/3d5d69795558/schema)
