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

x/windmill/windmill-api/types/PromiseAPI.ts>PromiseAdminApi

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 PromiseAdminApi
import { PromiseAdminApi } from "https://deno.land/x/windmill@v1.38.0/windmill-api/types/PromiseAPI.ts";

Constructors

new
PromiseAdminApi(
configuration: Configuration,
requestFactory?: AdminApiRequestFactory,
responseProcessor?: AdminApiResponseProcessor,
)

Methods

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

create user (require admin privilege)

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

delete user (require admin privilege)

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

update user (require admin privilege)