Skip to content
getgeolens.com

List User Names

GET
/admin/users/names/
curl --request GET \
--url 'https://example.com/api/admin/users/names/?skip=0&limit=500' \
--header 'Authorization: Bearer <token>'

Return lightweight id+username list for filter dropdowns.

Paginated to bound response size on deployments with many users. Default page size of 500 is enough for typical admin dropdowns; the limit cap of 1000 matches the previous hard cap. Clients needing the full list should page by incrementing skip.

skip
Skip
integer
0
limit
Limit
integer
default: 500 >= 1 <= 1000

Successful Response

Media type application/json
Response List User Names Admin Users Names Get
Array<object>
UserNameItem
object
id
required
Id

Unique user identifier.

string format: uuid
username
required
Username

User’s login username.

string
Example generated
[
{
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"username": "example"
}
]

Validation Error

Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}