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

x/appwrite/mod.ts>Teams#create

[READ-ONLY] Official Appwrite Deno SDK 🦕
Go to Latest
method Teams.prototype.create
Re-export
import { Teams } from "https://deno.land/x/appwrite@9.0.0/mod.ts";

Create Team

Create a new team. The user who creates the team will automatically be assigned as the owner of the team. Only the users with the owner role can invite new members, add new owners and delete or update the team.

Parameters

teamId: string
name: string
optional
roles: string[]