{
  "opencollection": "1.0.0",
  "info": {
    "name": "Atlassian Admin Account License Metrics API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "License Metrics",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Atlassian Get License",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.atlassian.com/rest/api/3/instance/license"
          },
          "docs": "Returns licensing information about the Jira instance.<br><br>**[Permissions](#permissions) required:** None."
        },
        {
          "info": {
            "name": "Atlassian Get Approximate License Count",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.atlassian.com/rest/api/3/license/approximateLicenseCount"
          },
          "docs": "Returns the approximate number of user accounts across all Jira licenses. Note that this information is cached with a 7-day lifecycle and could be stale at the time of call.<br><br>**[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg)."
        },
        {
          "info": {
            "name": "Atlassian Get Approximate Application License Count",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.atlassian.com/rest/api/3/license/approximateLicenseCount/product/:applicationKey",
            "params": [
              {
                "name": "applicationKey",
                "value": "",
                "type": "path",
                "description": "The ID of the application, represents a specific version of Jira."
              }
            ]
          },
          "docs": "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.<br><br>**[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg)."
        }
      ]
    }
  ],
  "bundled": true
}