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

x/windmill/windmill-api/types/ObservableAPI.ts>ObservableAdminApi

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

Constructors

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

Properties

private
configuration: Configuration
private
requestFactory: AdminApiRequestFactory
private
responseProcessor: AdminApiResponseProcessor

Methods

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

create user (require admin privilege)

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

delete user (require admin privilege)

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

update user (require admin privilege)