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
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { members: object[]; orgId: string; teamId: string; } | - |
parameters.members | object[] | - |
parameters.orgId? | string | The ID of the organisation of the team you are adding members to. |
parameters.teamId? | string | The ID of the team you are adding members to. |
options? | RequestOptions | - |
Returns
Promise<{ [key: string]: unknown; errors: object[]; members: object[]; }>