Skip to content

Function: addMembers() ​

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

Defined in: src/teams/api/teamMembers.ts:36

The account IDs specified will be added to the team.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ members: object[]; orgId: string; teamId: string; }-
parameters.membersobject[]-
parameters.orgId?stringThe ID of the organisation of the team you are adding members to.
parameters.teamId?stringThe ID of the team you are adding members to.
options?RequestOptions-

Returns ​

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