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

x/windmill/windmill-api/index.ts>GroupApi

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

Constructors

new
GroupApi(
configuration: Configuration,
requestFactory?: GroupApiRequestFactory,
responseProcessor?: GroupApiResponseProcessor,
)

Properties

private
api: ObservableGroupApi

Methods

addUserToGroup(
workspace: string,
name: string,
inlineObject21: InlineObject21,
_options?: Configuration,
): Promise<string>

add user to group

createGroup(
workspace: string,
inlineObject19: InlineObject19,
_options?: Configuration,
): Promise<string>

create group

deleteGroup(
workspace: string,
name: string,
_options?: Configuration,
): Promise<string>

delete group

getGroup(
workspace: string,
name: string,
_options?: Configuration,
): Promise<Group>

get group

listGroupNames(workspace: string, _options?: Configuration): Promise<Array<string>>

list group names

listGroups(
workspace: string,
page?: number,
perPage?: number,
_options?: Configuration,
): Promise<Array<Group>>

list groups

removeUserToGroup(
workspace: string,
name: string,
inlineObject22: InlineObject22,
_options?: Configuration,
): Promise<string>

remove user to group

updateGroup(
workspace: string,
name: string,
inlineObject20: InlineObject20,
_options?: Configuration,
): Promise<string>

update group