{ "opencollection": "1.0.0", "info": { "name": "Windmill Apps Users API", "version": "1.745.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Users", "type": "folder" }, "items": [ { "info": { "name": "Get current global user", "type": "http" }, "http": { "method": "GET", "url": "https://app.windmill.dev/api/users/whoami" }, "docs": "Returns the globally authenticated user." }, { "info": { "name": "Get current workspace user", "type": "http" }, "http": { "method": "GET", "url": "https://app.windmill.dev/api/w/:workspace/users/whoami", "params": [ { "name": "workspace", "value": "", "type": "path", "description": "The workspace id (tenant) the resource belongs to." } ] }, "docs": "Returns the current user within the workspace context." }, { "info": { "name": "List workspace users", "type": "http" }, "http": { "method": "GET", "url": "https://app.windmill.dev/api/w/:workspace/users/list", "params": [ { "name": "workspace", "value": "", "type": "path", "description": "The workspace id (tenant) the resource belongs to." } ] }, "docs": "Lists users who are members of the workspace." }, { "info": { "name": "Create an API token", "type": "http" }, "http": { "method": "POST", "url": "https://app.windmill.dev/api/users/tokens/create", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new API token for the authenticated user." } ] } ], "bundled": true }