---
title: "user list"
method: GET
path: "/v1/users"
tags: ["v1", "users"]
---

# user list

`GET /v1/users`

#### Controller: 

`github.com/ubccr/grendel/internal/api.(*Handler).UserList`

#### Middlewares:

- `github.com/go-fuego/fuego.defaultLogger.middleware`
- `github.com/ubccr/grendel/internal/api.(*Handler).authMiddleware`

---

List all users

## Query parameters

- `usernames` string

## Headers

- `Accept` string

## Response `200`

OK

- User[]
  - `created_at` string, date-time
  - `enabled` boolean
  - `hash` string
  - `id` integer
  - `modified_at` string, date-time
  - `role` string
  - `username` string

## Other responses

- `default` — Default Error

## Changes

- **2025-07-18** `20bff94216e2` — 1 info
  - added the new optional `query` request parameter `usernames`
- **2025-04-25** `26459b338dbb` — 2 info
  - added the optional property `items/enabled` to the response with the `200` status (media type: application/json)
  - added the optional property `items/enabled` to the response with the `200` status (media type: application/xml)
- **2025-03-21** `9e09e176e964` — 1 info
  - endpoint added
- **2024-12-03** `29c6a9c3f49b` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/ubccr/apis/grendel-api/changes/v1/users/get.md)

---

[API](https://skmtc.dev/ubccr/apis/grendel-api.md) · [All operations](https://skmtc.dev/ubccr/apis/grendel-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ubccr/grendel-api/revisions/62eb4acab992/schema)
