Skip to content

Function: getGroupsStats() ​

ts
function getGroupsStats(
   client, 
   parameters, 
   options?
): Promise<{
[key: string]: unknown;
  totals?: {
   [key: string]: unknown;
     all?: number;
     managed?: number;
     synced?: number;
  };
  types?: object[];
}>;

Defined in: src/admin/api/groups.ts:251

Returns group stats for the organization.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ directoryId: string; orgId: string; }-
parameters.directoryIdstringUnique ID associated with a directory. The - character can be used to increase the operation scope to all directories the requestor has permission to manage.
parameters.orgId?stringYour organization has a unique ID. Find this ID in your Atlassian Administration URL or when you create your API key.
options?RequestOptions-

Returns ​

Promise<{ [key: string]: unknown; totals?: { [key: string]: unknown; all?: number; managed?: number; synced?: number; }; types?: object[]; }>