removeTeam

Function

removeTeam unprotects a group, then deletes it

  • removeTeam(id: string, authentication: UserSession) : Promise<{
    groupId:
    string
    success:
    boolean
    }>

Parameters

Parameter Type Default Notes
id Required string

Team Id

authentication Required UserSession

authentication

Returns

{Promise<{groupId: string; success: boolean}>}

Promise<{
groupId:
string
success:
boolean
}>

Function defined in packages/teams/src/remove-team.ts:12