Different response from an API
Why is it that when i use the api for list users, the 200 response show on the doc it´s different than the response that actually comes?
It's the curl https://app.windmill.dev/api/w//users/list \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
The 200 response should be:
[
{
"email": "…",
"username": "…",
"is_admin": true,
"is_super_admin": true,
"created_at": "2025-01-22T16:37:24.323Z",
"operator": true,
"disabled": true,
"groups": [
"…"
],
"folders": [
"…"
],
"folders_owners": [
"…"
]
}
]
but i'm only getting :
{
"workspace_id": "test",
"email": "value@gmail.com",
"username": "value",
"is_admin": false,
"created_at": "2024-12-03T10:15:40.363816Z",
"operator": false,
"disabled": false,
"role": null
}
0 Replies