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

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

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

Static Methods

addUserToGroup(unnamed 0: { workspace: string; name: string; requestBody: { username?: string; }; }): CancelablePromise<string>

add user to group

addUserToInstanceGroup(unnamed 0: { name: string; requestBody: { email: string; }; }): CancelablePromise<string>

add user to instance group

createGroup(unnamed 0: { workspace: string; requestBody: { name: string; summary?: string; }; }): CancelablePromise<string>

create group

createInstanceGroup(unnamed 0: { requestBody: { name: string; summary?: string; }; }): CancelablePromise<string>

create instance group

deleteGroup(unnamed 0: { workspace: string; name: string; }): CancelablePromise<string>

delete group

deleteInstanceGroup(unnamed 0: { name: string; }): CancelablePromise<string>

delete instance group

exportInstanceGroups(): CancelablePromise<Array<ExportedInstanceGroup>>

export instance groups

getGroup(unnamed 0: { workspace: string; name: string; }): CancelablePromise<Group>

get group

getInstanceGroup(unnamed 0: { name: string; }): CancelablePromise<InstanceGroup>

get instance group

listGroupNames(unnamed 0: { workspace: string; onlyMemberOf?: boolean; }): CancelablePromise<Array<string>>

list group names

listGroups(unnamed 0: { workspace: string; page?: number; perPage?: number; }): CancelablePromise<Array<Group>>

list groups

listInstanceGroups(): CancelablePromise<Array<InstanceGroup>>

list instance groups

overwriteInstanceGroups(unnamed 0: { requestBody: Array<ExportedInstanceGroup>; }): CancelablePromise<string>

overwrite instance groups

removeUserFromInstanceGroup(unnamed 0: { name: string; requestBody: { email: string; }; }): CancelablePromise<string>

remove user from instance group

removeUserToGroup(unnamed 0: { workspace: string; name: string; requestBody: { username?: string; }; }): CancelablePromise<string>

remove user to group

updateGroup(unnamed 0: { workspace: string; name: string; requestBody: { summary?: string; }; }): CancelablePromise<string>

update group

updateInstanceGroup(unnamed 0: { name: string; requestBody: { new_summary: string; }; }): CancelablePromise<string>

update instance group