getApproximateApplicationLicenseCount method

Future<LicenseMetric> getApproximateApplicationLicenseCount(
  1. String applicationKey
)

Returns the total approximate number of user accounts for a single Jira license. Note that this information is cached with a 7-day lifecycle and could be stale at the time of call.

Permissions required: Administer Jira global permission.

Implementation

Future<LicenseMetric> getApproximateApplicationLicenseCount(
    String applicationKey) async {
  return LicenseMetric.fromJson(await _client.send(
    'get',
    'rest/api/3/license/approximateLicenseCount/product/{applicationKey}',
    pathParameters: {
      'applicationKey': applicationKey,
    },
  ));
}