Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/windmill/windmill-api/apis/UserApi.ts>UserApiRequestFactory

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
class UserApiRequestFactory
import { UserApiRequestFactory } from "https://deno.land/x/windmill@v1.38.0/windmill-api/apis/UserApi.ts";

no description

Methods

acceptInvite(inlineObject5: InlineObject5, _options?: Configuration): Promise<RequestContext>

accept invite to workspace

createToken(newToken: NewToken, _options?: Configuration): Promise<RequestContext>

create token

createUser(
workspace: string,
newUser: NewUser,
_options?: Configuration,
): Promise<RequestContext>

create user (require admin privilege)

createUserGlobally(inlineObject1: InlineObject1, _options?: Configuration): Promise<RequestContext>

create user

declineInvite(inlineObject6: InlineObject6, _options?: Configuration): Promise<RequestContext>

decline invite to workspace

deleteToken(tokenPrefix: string, _options?: Configuration): Promise<RequestContext>

delete token

deleteUser(
workspace: string,
username: string,
_options?: Configuration,
): Promise<RequestContext>

delete user (require admin privilege)

get current user email (if logged in)

globalUserUpdate(
email: string,
inlineObject2: InlineObject2,
_options?: Configuration,
): Promise<RequestContext>

global update user (require super admin)

get current global whoami (if logged in)

leaveWorkspace(workspace: string, _options?: Configuration): Promise<RequestContext>

leave workspace

list token

listUsernames(workspace: string, _options?: Configuration): Promise<RequestContext>

list usernames

listUsers(workspace: string, _options?: Configuration): Promise<RequestContext>

list users

listUsersAsSuperAdmin(
page?: number,
perPage?: number,
_options?: Configuration,
): Promise<RequestContext>

list all users as super admin (require to be super amdin)

list all workspace invites

login(login: Login, _options?: Configuration): Promise<RequestContext>

login with password

loginWithOauth(
clientName: string,
inlineObject10: InlineObject10,
_options?: Configuration,
): Promise<RequestContext>

login with oauth authorization flow

logout(_options?: Configuration): Promise<RequestContext>

logout

setPassword(inlineObject: InlineObject, _options?: Configuration): Promise<RequestContext>

set password

updateUser(
workspace: string,
username: string,
editWorkspaceUser: EditWorkspaceUser,
_options?: Configuration,
): Promise<RequestContext>

update user (require admin privilege)

whoami(workspace: string, _options?: Configuration): Promise<RequestContext>

whoami

whois(
workspace: string,
username: string,
_options?: Configuration,
): Promise<RequestContext>

whois