MCPcopy Index your code
hub / github.com/coder/coder / createGroup

Function createGroup

site/e2e/api.ts:83–92  ·  view source on GitHub ↗
(orgId: string)

Source from the content-addressed store, hash-verified

81};
82
83export const createGroup = async (orgId: string) => {
84 const name = randomName();
85 const group = await API.createGroup(orgId, {
86 name,
87 display_name: `Display ${name}`,
88 avatar_url: "/emojis/1f60d.png",
89 quota_allowance: 0,
90 });
91 return group;
92};
93
94export const createOrganization = async (name = randomName()) => {
95 const org = await API.createOrganization({

Callers 4

addMembers.spec.tsFile · 0.90

Calls 1

randomNameFunction · 0.90

Tested by

no test coverage detected