---
search:
  tags:
    - Access
    - GET
seo:
  description: Admins only. Reference for the GET /users endpoint in the piecemeal API.
sidebar:
  label: List users
  badge: GET
title: List users
type: openapi-operation
---
Admins only.

`GET /users`

**Responses**

- `200` — OK
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error

Response example, 200:

```json
{
  "items": [
    {
      "createdAt": "2019-08-24T14:15:22Z",
      "displayName": "string",
      "email": "string",
      "id": 0,
      "isAdmin": true,
      "lastLoginAt": "2019-08-24T14:15:22Z",
      "oidc": true,
      "username": "string"
    }
  ]
}
```
