{
  "opencollection": "1.0.0",
  "info": {
    "name": "PureCloud Platform Agent Assistants License API",
    "version": "v2"
  },
  "items": [
    {
      "info": {
        "name": "License",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get PureCloud license definition.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v2/license/definitions/:licenseId",
            "params": [
              {
                "name": "licenseId",
                "value": "",
                "type": "path",
                "description": "ID"
              }
            ]
          },
          "docs": "Get PureCloud license definition."
        },
        {
          "info": {
            "name": "Get all PureCloud license definitions available for the organization.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v2/license/definitions"
          },
          "docs": "Get all PureCloud license definitions available for the organization."
        },
        {
          "info": {
            "name": "Get a list of licenses inferred based on a list of roleIds",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v2/license/infer"
          },
          "docs": "Get a list of licenses inferred based on a list of roleIds"
        },
        {
          "info": {
            "name": "Deprecated - no alternative required. This operation will always return 'true' for requested toggles",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v2/license/toggles/:featureName",
            "params": [
              {
                "name": "featureName",
                "value": "",
                "type": "path",
                "description": "featureName"
              }
            ]
          },
          "docs": "Deprecated - no alternative required. This operation will always return 'true' for requested toggles"
        },
        {
          "info": {
            "name": "Deprecated. No alternative required - this endpoint has no effect",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v2/license/toggles/:featureName",
            "params": [
              {
                "name": "featureName",
                "value": "",
                "type": "path",
                "description": "featureName"
              }
            ]
          },
          "docs": "Deprecated. No alternative required - this endpoint has no effect"
        },
        {
          "info": {
            "name": "Update the organization's license assignments in a batch.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v2/license/organization"
          },
          "docs": "Update the organization's license assignments in a batch."
        },
        {
          "info": {
            "name": "Get licenses for specified user.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v2/license/users/:userId",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "ID"
              }
            ]
          },
          "docs": "Get licenses for specified user."
        },
        {
          "info": {
            "name": "Get a page of users and their licenses",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v2/license/users",
            "params": [
              {
                "name": "pageSize",
                "value": "",
                "type": "query",
                "description": "Page size"
              },
              {
                "name": "pageNumber",
                "value": "",
                "type": "query",
                "description": "Page number"
              }
            ]
          },
          "docs": "Retrieve a page of users in an organization along with the licenses they possess."
        },
        {
          "info": {
            "name": "Fetch user licenses in a batch.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v2/license/users"
          },
          "docs": "Fetch user licenses in a batch."
        }
      ]
    }
  ],
  "bundled": true
}