Skip to content

Function: unlinkTeamsFromExternalSource() ​

ts
function unlinkTeamsFromExternalSource(
   client, 
   parameters, 
   options?
): Promise<{
[key: string]: unknown;
  errors: object[];
  successfulTeamIds: string[];
}>;

Defined in: src/teams/api/externalTeams.ts:33

Unlinks managed teams from their external references in bulk. Each team's membership setting will be transitioned from EXTERNAL to ORG_ADMIN_MANAGED.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ orgId: string; teamIds: string[]; }-
parameters.orgIdstringThe ID of the organisation that owns the managed teams to unlink.
parameters.teamIds?string[]-
options?RequestOptions-

Returns ​

Promise<{ [key: string]: unknown; errors: object[]; successfulTeamIds: string[]; }>