List User Names
GET
/admin/users/names/
const url = 'https://example.com/api/admin/users/names/?skip=0&limit=500';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” skip
Skip
integer
limit
Limit
integer
Responses
Section titled “ Responses ”Successful Response
Media type application/json
Response List User Names Admin Users Names Get
Array<object>
UserNameItemobject
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>
ValidationErrorobject
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": {} } ]}