---
title: "List users"
method: GET
path: "/users"
tags: ["users"]
---

# List users

`GET /users`

List Portainer users.
Non-administrator users will only be able to list other non-administrator user accounts.
User passwords are filtered out, and should never be accessible.
**Access policy**: restricted

## Query parameters

- `environmentId` integer

## Response `200`

Success

- PortainerUser[]
  - `Id` integer, required — User Identifier
  - `Role` 0 | 1 | 2, required
  - `ThemeSettings` PortainerUserThemeSettings
    - `color` 'dark' | 'light' | 'highcontrast' | 'auto' | '' — Color represents the color theme of the UI
  - `TokenIssueAt` integer
  - `UseCache` boolean
  - `Username` string, required

## Other responses

- `400` — Invalid request
- `500` — Server error

---

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