class UserApiRequestFactory
extends BaseAPIRequestFactory
import { UserApiRequestFactory } from "https://deno.land/x/windmill@v1.38.2/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(): 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(): Promise<RequestContext>
delete user (require admin privilege)
getCurrentEmail(_options?: Configuration): Promise<RequestContext>
get current user email (if logged in)
globalUserUpdate(): Promise<RequestContext>
global update user (require super admin)
globalWhoami(_options?: Configuration): Promise<RequestContext>
get current global whoami (if logged in)
leaveWorkspace(workspace: string, _options?: Configuration): Promise<RequestContext>
leave workspace
listTokens(_options?: Configuration): Promise<RequestContext>
list token
listUsernames(workspace: string, _options?: Configuration): Promise<RequestContext>
list usernames
listUsers(workspace: string, _options?: Configuration): Promise<RequestContext>
list users
listUsersAsSuperAdmin(): Promise<RequestContext>
list all users as super admin (require to be super amdin)
listWorkspaceInvites(_options?: Configuration): Promise<RequestContext>
list all workspace invites
login(login: Login, _options?: Configuration): Promise<RequestContext>
login with password
loginWithOauth(): Promise<RequestContext>
login with oauth authorization flow
logout(_options?: Configuration): Promise<RequestContext>
logout
setPassword(inlineObject: InlineObject, _options?: Configuration): Promise<RequestContext>
set password
updateUser(): Promise<RequestContext>
update user (require admin privilege)
whoami(workspace: string, _options?: Configuration): Promise<RequestContext>
whoami
whois(): Promise<RequestContext>
whois