API Reference
List users
All users. Never includes password hashes.
GET
/auth/usersadminReturns every user. Requires the admin role.
Responses
200All users
json
[
{
"id": 1,
"username": "admin",
"role": "admin",
"created_at": "2026-07-01T09:00:00Z"
}
]403Not an admin
json
{ "detail": "role 'user' cannot perform this action" }