Qlik Sense Licenses API

The licenses API from Qlik Sense — 8 operation(s) for licenses.

Operations 9

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/v1/licenses/assignments List license assignments · Retrieves assignments for the current tenant #
Ask an LLM
“Which users have a professional or analyzer license assigned?”
“Can I find license assignments for users that no longer exist?”
Tell an agent
List license assignments in my tenant.
List license assignments matching {filter}, {limit} per page.
POST /api/v1/licenses/assignments/actions/add Assign licenses to users · Assigns license access to the given users #
Ask an LLM
“Can I give several users a license in one request?”
“Which license types can I assign to new users?”
Tell an agent
Assign licenses to these users: {add}.
Grant license access as listed in {add}.
POST /api/v1/licenses/assignments/actions/delete Remove licenses from users · Removes license access for the given users #
Ask an LLM
“Can I free up licenses by removing them from departed users?”
“Is it possible to revoke license access for several users at once?”
Tell an agent destructive · confirm first
Remove license access for these users: {delete}.
Revoke the license assignments listed in {delete}.
POST /api/v1/licenses/assignments/actions/update Change users' license type · Updates license access for the given users #
Ask an LLM
“Can I change the license access a user already has?”
“Can several users' license types be changed in one request?”
Tell an agent
Update license access for these users: {update}.
Change license types as listed in {update}.
GET /api/v1/licenses/consumption Get license consumption · Retrieves license consumption for the current tenant #
Ask an LLM
“How much of our license has the tenant consumed so far?”
“Can I filter license consumption records?”
Tell an agent
Show license consumption for my tenant.
List license consumption records matching {filter}.
GET /api/v1/licenses/overview Get the tenant license overview · Gets the general information of the license applied to the current tenant #
Ask an LLM
“What license is applied to my tenant and how many seats does it include?”
“Where do I see the general details of my Qlik Cloud license?”
Tell an agent
Show the license overview for my tenant.
Summarize the license applied to this tenant.
GET /api/v1/licenses/settings Get license auto-assign settings · Get auto assign settings for tenant #
Ask an LLM
“Are new users automatically given a license in my tenant?”
“Which license types are set to auto-assign?”
Tell an agent
Show the license auto-assign settings.
Check whether professional licenses auto-assign.
PUT /api/v1/licenses/settings Set license auto-assign settings · Set auto assign settings for tenant #
Ask an LLM
“Can I turn on automatic license assignment for new users?”
“Can I auto-assign analyzer licenses but not professional ones?”
Tell an agent
Set auto-assign analyzer to {autoAssignAnalyzer} and professional to {autoAssignProfessional}.
Turn professional license auto-assign to {autoAssignProfessional}.
GET /api/v1/licenses/status Get the tenant license status · Gets the license status information of the current tenant #
Ask an LLM
“What is the current license status of my tenant?”
“Where do I check the current status of my license?”
Tell an agent
Show my tenant license status.
Check whether the tenant license is still valid.

Documentation

📖
Documentation
https://qlik.dev/apis/rest/analytics/apps/
📖
APIReference
https://qlik.dev/apis/rest/analytics/apps/
📖
Documentation
https://qlik.dev/apis/rest/analytics/change-stores/
📖
APIReference
https://qlik.dev/apis/rest/analytics/change-stores/
📖
Documentation
https://qlik.dev/apis/rest/analytics/discovery-agent/adaptive-cards/
📖
APIReference
https://qlik.dev/apis/rest/analytics/discovery-agent/adaptive-cards/
📖
Documentation
https://qlik.dev/apis/rest/analytics/odag-apps/
📖
APIReference
https://qlik.dev/apis/rest/analytics/odag-apps/
📖
Documentation
https://qlik.dev/apis/rest/analytics/odag-links/
📖
APIReference
https://qlik.dev/apis/rest/analytics/odag-links/
📖
Documentation
https://qlik.dev/apis/rest/analytics/odag-requests/
📖
APIReference
https://qlik.dev/apis/rest/analytics/odag-requests/
📖
Documentation
https://qlik.dev/apis/rest/analytics/odag-settings/
📖
APIReference
https://qlik.dev/apis/rest/analytics/odag-settings/
📖
Documentation
https://qlik.dev/apis/rest/api-keys/
📖
APIReference
https://qlik.dev/apis/rest/api-keys/
📖
Documentation
https://qlik.dev/apis/rest/apps/
📖
APIReference
https://qlik.dev/apis/rest/apps/
📖
Documentation
https://qlik.dev/apis/rest/assistants/
📖
APIReference
https://qlik.dev/apis/rest/assistants/
📖
Documentation
https://qlik.dev/apis/rest/audits/
📖
APIReference
https://qlik.dev/apis/rest/audits/
📖
Documentation
https://qlik.dev/apis/rest/automation-connections/
📖
APIReference
https://qlik.dev/apis/rest/automation-connections/
📖
Documentation
https://qlik.dev/apis/rest/automation-connectors/
📖
APIReference
https://qlik.dev/apis/rest/automation-connectors/
📖
Documentation
https://qlik.dev/apis/rest/automations/
📖
APIReference
https://qlik.dev/apis/rest/automations/
📖
Documentation
https://qlik.dev/apis/rest/automl-deployments/
📖
APIReference
https://qlik.dev/apis/rest/automl-deployments/
📖
Documentation
https://qlik.dev/apis/rest/automl-predictions/
📖
APIReference
https://qlik.dev/apis/rest/automl-predictions/
📖
Documentation
https://qlik.dev/apis/rest/banners/
📖
APIReference
https://qlik.dev/apis/rest/banners/
📖
Documentation
https://qlik.dev/apis/rest/brands/
📖
APIReference
https://qlik.dev/apis/rest/brands/
📖
Documentation
https://qlik.dev/apis/rest/collections/
📖
APIReference
https://qlik.dev/apis/rest/collections/
📖
Documentation
https://qlik.dev/apis/rest/conditions/
📖
APIReference
https://qlik.dev/apis/rest/conditions/
📖
Documentation
https://qlik.dev/apis/rest/consumption/
📖
APIReference
https://qlik.dev/apis/rest/consumption/
📖
Documentation
https://qlik.dev/apis/rest/core/auth-settings/
📖
APIReference
https://qlik.dev/apis/rest/core/auth-settings/
📖
Documentation
https://qlik.dev/apis/rest/core/ip-policies/
📖
APIReference
https://qlik.dev/apis/rest/core/ip-policies/
📖
Documentation
https://qlik.dev/apis/rest/csp-origins/
📖
APIReference
https://qlik.dev/apis/rest/csp-origins/
📖
Documentation
https://qlik.dev/apis/rest/csrf-token/
📖
APIReference
https://qlik.dev/apis/rest/csrf-token/
📖
Documentation
https://qlik.dev/apis/rest/data-alerts/
📖
APIReference
https://qlik.dev/apis/rest/data-alerts/
📖
Documentation
https://qlik.dev/apis/rest/data-assets/
📖
APIReference
https://qlik.dev/apis/rest/data-assets/
📖
Documentation
https://qlik.dev/apis/rest/data-connections/
📖
APIReference
https://qlik.dev/apis/rest/data-connections/
📖
Documentation
https://qlik.dev/apis/rest/data-credentials/
📖
APIReference
https://qlik.dev/apis/rest/data-credentials/
📖
Documentation
https://qlik.dev/apis/rest/data-files/
📖
APIReference
https://qlik.dev/apis/rest/data-files/
📖
Documentation
https://qlik.dev/apis/rest/data-governance/data-products/
📖
APIReference
https://qlik.dev/apis/rest/data-governance/data-products/
📖
Documentation
https://qlik.dev/apis/rest/data-governance/data-qualities/
📖
APIReference
https://qlik.dev/apis/rest/data-governance/data-qualities/
📖
Documentation
https://qlik.dev/apis/rest/data-governance/trust-scores/
📖
APIReference
https://qlik.dev/apis/rest/data-governance/trust-scores/
📖
Documentation
https://qlik.dev/apis/rest/data-qualities/
📖
APIReference
https://qlik.dev/apis/rest/data-qualities/
📖
Documentation
https://qlik.dev/apis/rest/data-sets/
📖
APIReference
https://qlik.dev/apis/rest/data-sets/
📖
Documentation
https://qlik.dev/apis/rest/data-sources/
📖
APIReference
https://qlik.dev/apis/rest/data-sources/
📖
Documentation
https://qlik.dev/apis/rest/data-stores/
📖
APIReference
https://qlik.dev/apis/rest/data-stores/
📖
Documentation
https://qlik.dev/apis/rest/di-projects/
📖
APIReference
https://qlik.dev/apis/rest/di-projects/
📖
Documentation
https://qlik.dev/apis/rest/direct-access-agents/
📖
APIReference
https://qlik.dev/apis/rest/direct-access-agents/
📖
Documentation
https://qlik.dev/apis/rest/encryption/
📖
APIReference
https://qlik.dev/apis/rest/encryption/
📖
Documentation
https://qlik.dev/apis/rest/extensions/
📖
APIReference
https://qlik.dev/apis/rest/extensions/
📖
Documentation
https://qlik.dev/apis/rest/glossaries/
📖
APIReference
https://qlik.dev/apis/rest/glossaries/
📖
Documentation
https://qlik.dev/apis/rest/groups/
📖
APIReference
https://qlik.dev/apis/rest/groups/
📖
Documentation
https://qlik.dev/apis/rest/identity-providers/
📖
APIReference
https://qlik.dev/apis/rest/identity-providers/
📖
Documentation
https://qlik.dev/apis/rest/items/
📖
APIReference
https://qlik.dev/apis/rest/items/
📖
Documentation
https://qlik.dev/apis/rest/knowledgebases/
📖
APIReference
https://qlik.dev/apis/rest/knowledgebases/
📖
Documentation
https://qlik.dev/apis/rest/licenses/
📖
APIReference
https://qlik.dev/apis/rest/licenses/
📖
Documentation
https://qlik.dev/apis/rest/lineage-graphs/
📖
APIReference
https://qlik.dev/apis/rest/lineage-graphs/
📖
Documentation
https://qlik.dev/apis/rest/login/
📖
APIReference
https://qlik.dev/apis/rest/login/
📖
Documentation
https://qlik.dev/apis/rest/ml/
📖
APIReference
https://qlik.dev/apis/rest/ml/
📖
Documentation
https://qlik.dev/apis/rest/notes/
📖
APIReference
https://qlik.dev/apis/rest/notes/
📖
Documentation
https://qlik.dev/apis/rest/notifications/
📖
APIReference
https://qlik.dev/apis/rest/notifications/
📖
Documentation
https://qlik.dev/apis/rest/oauth-clients/
📖
APIReference
https://qlik.dev/apis/rest/oauth-clients/
📖
Documentation
https://qlik.dev/apis/rest/oauth-tokens/
📖
APIReference
https://qlik.dev/apis/rest/oauth-tokens/
📖
Documentation
https://qlik.dev/apis/rest/questions/
📖
APIReference
https://qlik.dev/apis/rest/questions/
📖
Documentation
https://qlik.dev/apis/rest/quotas/
📖
APIReference
https://qlik.dev/apis/rest/quotas/
📖
Documentation
https://qlik.dev/apis/rest/reload-tasks/
📖
APIReference
https://qlik.dev/apis/rest/reload-tasks/
📖
Documentation
https://qlik.dev/apis/rest/reloads/
📖
APIReference
https://qlik.dev/apis/rest/reloads/
📖
Documentation
https://qlik.dev/apis/rest/report-templates/
📖
APIReference
https://qlik.dev/apis/rest/report-templates/
📖
Documentation
https://qlik.dev/apis/rest/reports/
📖
APIReference
https://qlik.dev/apis/rest/reports/
📖
Documentation
https://qlik.dev/apis/rest/roles/
📖
APIReference
https://qlik.dev/apis/rest/roles/
📖
Documentation
https://qlik.dev/apis/rest/scheduling/tasks/
📖
APIReference
https://qlik.dev/apis/rest/scheduling/tasks/
📖
Documentation
https://qlik.dev/apis/rest/sharing-tasks/
📖
APIReference
https://qlik.dev/apis/rest/sharing-tasks/
📖
Documentation
https://qlik.dev/apis/rest/spaces/
📖
APIReference
https://qlik.dev/apis/rest/spaces/
📖
Documentation
https://qlik.dev/apis/rest/tasks/
📖
APIReference
https://qlik.dev/apis/rest/tasks/
📖
Documentation
https://qlik.dev/apis/rest/temp-contents/
📖
APIReference
https://qlik.dev/apis/rest/temp-contents/
📖
Documentation
https://qlik.dev/apis/rest/tenant-settings/
📖
APIReference
https://qlik.dev/apis/rest/tenant-settings/
📖
Documentation
https://qlik.dev/apis/rest/tenants/
📖
APIReference
https://qlik.dev/apis/rest/tenants/
📖
Documentation
https://qlik.dev/apis/rest/themes/
📖
APIReference
https://qlik.dev/apis/rest/themes/
📖
Documentation
https://qlik.dev/apis/rest/transports/
📖
APIReference
https://qlik.dev/apis/rest/transports/
📖
Documentation
https://qlik.dev/apis/rest/ui-config/
📖
APIReference
https://qlik.dev/apis/rest/ui-config/
📖
Documentation
https://qlik.dev/apis/rest/users/
📖
APIReference
https://qlik.dev/apis/rest/users/
📖
Documentation
https://qlik.dev/apis/rest/web-integrations/
📖
APIReference
https://qlik.dev/apis/rest/web-integrations/
📖
Documentation
https://qlik.dev/apis/rest/web-notifications/
📖
APIReference
https://qlik.dev/apis/rest/web-notifications/
📖
Documentation
https://qlik.dev/apis/rest/webhooks/
📖
APIReference
https://qlik.dev/apis/rest/webhooks/
📖
Documentation
https://qlik.dev/apis/rest/workflows/automation-connections/
📖
APIReference
https://qlik.dev/apis/rest/workflows/automation-connections/
📖
Documentation
https://qlik.dev/apis/rest/workflows/automation-connectors/
📖
APIReference
https://qlik.dev/apis/rest/workflows/automation-connectors/
📖
Documentation
https://qlik.dev/apis/rest/workflows/automations/
📖
APIReference
https://qlik.dev/apis/rest/workflows/automations/
📖
Documentation
https://qlik.dev/apis/rest
📖
Authentication
https://qlik.dev/authenticate

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/qliksense:qliksense-licenses-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

qliksense-licenses-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Licenses API
  version: ''
servers:
- url: https://{tenant}.{region}.qlikcloud.com
  variables:
    region:
      default: us
      description: The region the tenant is hosted in
    tenant:
      default: your-tenant
      description: Name of the tenant that will be called
tags:
- name: Licenses
paths:
  /api/v1/licenses/assignments:
    get:
      tags:
      - Licenses
      summary: Retrieves assignments for the current tenant
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/assignmentsResponse'
          description: List of assignments.
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorResponse'
          description: Bad request, invalid query.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorResponse'
          description: Unauthorized (invalid token).
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorResponse'
          description: Insufficient access
      parameters:
      - in: query
        name: filter
        schema:
          type: string
        required: false
        description: The filter for finding entries.
      - in: query
        name: limit
        schema:
          type: integer
          format: int32
          default: 20
          maximum: 100
          minimum: 1
        required: false
        description: The preferred number of entries to return.
      - in: query
        name: orphans
        schema:
          type: boolean
        required: false
        description: Only return assignments which are 'orphans' in the current tenant.
      - in: query
        name: page
        schema:
          type: string
        required: false
        description: The requested page.
      - in: query
        name: sort
        schema:
          type: string
        required: false
        description: The field to sort on; can be prefixed with +/- for ascending/descending sort order.
      - in: header
        name: authorization
        schema:
          type: string
          format: bearer
        description: Authentication token
      x-qlik-stability: stable
      x-qlik-visibility: public
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: '1'
        limit: 1000
      operationId: getApiV1LicensesAssignments
      x-operation-id-source: derived
  /api/v1/licenses/assignments/actions/add:
    post:
      tags:
      - Licenses
      summary: Assigns license access to the given users
      responses:
        '207':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/assignmentsActionsAddResponse'
          description: Processed. (The status of the individual assignments is found in the response body)
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorResponse'
          description: Body is invalid or missing.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorResponse'
          description: Unauthorized (invalid token).
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorResponse'
          description: Insufficient access
      parameters:
      - in: header
        name: authorization
        schema:
          type: string
          format: bearer
        description: Authentication token
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/assignmentsActionsAddRequest'
        required: true
        description: List of subjects to allocate assignments for.
      x-qlik-stability: stable
      x-qlik-visibility: public
      x-codegen-request-body-name: assignments
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: '2'
        limit: 100
      operationId: postApiV1LicensesAssignmentsActionsAdd
      x-operation-id-source: derived
  /api/v1/licenses/assignments/actions/delete:
    post:
      tags:
      - Licenses
      summary: Removes license access for the given users
      responses:
        '207':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/assignmentsActionsDeleteResponse'
          description: Processed. (The status of the individual assignments is found in the response body)
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorResponse'
          description: Body is invalid or missing.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorResponse'
          description: Unauthorized (invalid token).
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorResponse'
          description: Insufficient access
      parameters:
      - in: header
        name: authorization
        schema:
          type: string
          format: bearer
        description: Authentication token
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/assignmentsActionsDeleteRequest'
        required: true
        description: List of assignments to delete.
      x-qlik-stability: stable
      x-qlik-visibility: public
      x-codegen-request-body-name: assignments
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: '2'
        limit: 100
      operationId: postApiV1LicensesAssignmentsActionsDelete
      x-operation-id-source: derived
  /api/v1/licenses/assignments/actions/update:
    post:
      tags:
      - Licenses
      summary: Updates license access for the given users
      responses:
        '207':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/assignmentsActionsUpdateResponse'
          description: Processed. (The status of the individual assignments is found in the response body)
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorResponse'
          description: Body is invalid or missing.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorResponse'
          description: Unauthorized (invalid token).
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorResponse'
          description: Insufficient access
      parameters:
      - in: header
        name: authorization
        schema:
          type: string
          format: bearer
        description: Authentication token
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/assignmentsActionsUpdateRequest'
        required: true
        description: List of assignments to update.
      x-qlik-stability: stable
      x-qlik-visibility: public
      x-codegen-request-body-name: assignments
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: '2'
        limit: 100
      operationId: postApiV1LicensesAssignmentsActionsUpdate
      x-operation-id-source: derived
  /api/v1/licenses/consumption:
    get:
      tags:
      - Licenses
      summary: Retrieves license consumption for the current tenant
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/consumptionEventsResponse'
          description: Successful
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorResponse'
          description: Bad request, malformed query.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorResponse'
          description: Unauthorized (invalid token).
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorResponse'
          description: Insufficient access
      parameters:
      - in: query
        name: filter
        schema:
          type: string
        required: false
        description: The SCIM filter for the query. Filterable property is "endTime".
      - in: query
        name: limit
        schema:
          type: integer
          format: int32
          default: 200
          maximum: 200
          minimum: 1
        required: false
        description: The preferred number of entries to return.
      - in: query
        name: page
        schema:
          type: string
        required: false
        description: The requested page.
      - in: query
        name: sort
        schema:
          type: string
        required: false
        description: The field to sort on; can be prefixed with +/- for ascending/descending sort order.
      - in: header
        name: authorization
        schema:
          type: string
          format: bearer
        description: Authentication token
      x-qlik-stability: stable
      x-qlik-visibility: public
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: '1'
        limit: 1000
      operationId: getApiV1LicensesConsumption
      x-operation-id-source: derived
  /api/v1/licenses/overview:
    get:
      tags:
      - Licenses
      summary: Gets the general information of the license applied to the current tenant
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/licenseOverview'
          description: Licenses overview info.
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorResponse'
          description: invalid tenant
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorResponse'
          description: Unauthorized (invalid token).
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorResponse'
          description: License not found.
      parameters:
      - in: header
        name: authorization
        schema:
          type: string
          format: bearer
        description: Authentication token.
      x-qlik-stability: stable
      x-qlik-visibility: public
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: '1'
        limit: 1000
      operationId: getApiV1LicensesOverview
      x-operation-id-source: derived
  /api/v1/licenses/settings:
    get:
      tags:
      - Licenses
      summary: Get auto assign settings for tenant
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/settingsBody'
          description: Auto assign settings.
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorResponse'
          description: Missing or invalid tenant.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorResponse'
          description: Not allowed
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorResponse'
          description: Insufficient access
      parameters:
      - in: header
        name: authorization
        schema:
          type: string
          format: bearer
        description: Authentication token
      x-qlik-stability: stable
      x-qlik-visibility: public
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: '1'
        limit: 1000
      operationId: getApiV1LicensesSettings
      x-operation-id-source: derived
    put:
      tags:
      - Licenses
      summary: Set auto assign settings for tenant
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/settingsBody'
          description: Auto assign settings.
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorResponse'
          description: Missing or invalid tenant.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorResponse'
          description: Action not allowed.
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorResponse'
          description: Insufficient access
      parameters:
      - in: header
        name: authorization
        schema:
          type: string
          format: bearer
        description: Authentication token
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/settingsBody'
        required: false
        description: Dynamic assignment settings for professional and analyzer users. If professional users and analyzer users are both set, professional users will be automatically assigned, if available. Otherwise, analyzer users will be assigned. If neither of those users are available, analyzer capacity will be assigned, if available.
      x-qlik-stability: stable
      x-qlik-visibility: public
      x-codegen-request-body-name: auto assign settings
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: '2'
        limit: 100
      operationId: putApiV1LicensesSettings
      x-operation-id-source: derived
  /api/v1/licenses/status:
    get:
      tags:
      - Licenses
      summary: Gets the license status information of the current tenant
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/licenseStatus'
          description: License status info.
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorResponse'
          description: invalid tenant
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorResponse'
          description: Unauthorized (invalid token).
      parameters:
      - in: header
        name: authorization
        schema:
          type: string
          format: bearer
        description: Authentication token
      x-qlik-stability: stable
      x-qlik-visibility: public
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: '1'
        limit: 1000
      operationId: getApiV1LicensesStatus
      x-operation-id-source: derived
components:
  schemas:
    assignmentsActionsAddResponse:
      type: object
      example:
        data:
        - type: professional
          status: 201
          subject: qlik\kalle
        - code: LICENSES-011
          type: analyzer
          title: No available allotment error, No available allotment.
          status: 403
          subject: qlik\nalle
      required:
      - data
      properties:
        data:
          type: array
          items:
            required:
            - subject
            - status
            properties:
              code:
                type: string
                description: Error code
              type:
                type: string
                description: Allotment type
              title:
                type: string
                description: Error title
              status:
                type: integer
                description: Response status
              subject:
                type: string
                description: Subject
    licenseOverview:
      type: object
      example:
        trial: false
        valid: 2018-01-01/2018-12-31
        origin: Internal
        status: Ok
        product: Qlik Sense Enterprise SaaS
        allotments:
        - name: analyzer_time
          units: 300
          overage: 100
          unitsUsed: 242
          usageClass: time
        - name: professional
          units: 200
          unitsUsed: 15
          usageClass: assigned
        licenseKey: hejhbGciOiJSUzUxMiIsInR5cCI6IkpXVCIsImtpZCI6IktFWTEifQ.eyJqdGkiOiIxZjZkZTc0Zi04MDcyLTRjMTQtYjc1OS02ZjlkYmJmYWM5MjAiLCJsaWNlbnNlIjoiOTk5OTAwMDAwMDAwMTIzNCJ9.fwa6l6gY1MR_Ja2OMnV65V68fbzQYW5OAKUFnLfG9oZjNAbjhdDkZvS2S2zHaBnSrSva1ARh5iq_S0KTBOKKcJJDTb7jRVURyaAvbCuBDk_0ITrUudHaT9U_Mc9EKkfT8mR6vthhZxVzEhyYPFS7gDw7M6bav2ntpDsoJFPgous
        parameters:
        - name: qlikAlerting
          valid: ./.
          values:
            saas_alerting: FULL
        licenseNumber: '9999000000001204'
        secondaryNumber: '12345'
      required:
      - allotments
      - licenseKey
      - licenseNumber
      - origin
      - updated
      - parameters
      - product
      - status
      - trial
      - valid
      - secondaryNumber
      properties:
        trial:
          type: boolean
          description: Boolean indicating if it is a trial license.
        valid:
          type: string
          description: Period that the license is currently set to be active. Represented as an ISO 8601 time interval with start and end.
        origin:
          enum:
          - Internal
          - External
          type: string
          description: Origin of license key.
        status:
          enum:
          - Ok
          - Blacklisted
          - Expired
          type: string
          description: Enum with status of license. Only status Ok grants license. access.
        product:
          type: string
          description: The product the license is valid for.
        updated:
          type: string
          description: An ISO 8601 timestamp for when the license was last updated.
        allotments:
          type: array
          items:
            type: object
            required:
            - name
            - units
            - unitsUsed
            - usageClass
            properties:
              name:
                enum:
                - professional
                - analyzer
                - analyzer_time
                type: string
              units:
                type: integer
              overage:
                type: integer
                description: Overage value; -1 means unbounded overage.
              unitsUsed:
                type: integer
              usageClass:
                type: string
        changeTime:
          type: string
          description: An ISO 8601 timestamp for when the license was last changed.
        customerId:
          type: string
          description: Customer ID
        licenseKey:
          type: string
        parameters:
          type: array
          items:
            type: object
            required:
            - name
            - valid
            properties:
              name:
                type: string
                description: Parameter set (provision) name.
              valid:
                type: string
                pattern: ^(\.|\d{4}-\d{2}-\d{2})/(\.|\d{4}-\d{2}-\d{2})$
                description: Time interval for parameter validity.
              access:
                type: object
                properties:
                  allotment:
                    type: string
                    description: Name of an allotment that the user must have access to. to
                description: Parameters for licenses to control access to the parameters.
              values:
                type: object
                properties: {}
                description: Parameter values
          description: The license parameters.
        licenseType:
          type: string
        licenseNumber:
          type: string
        latestValidTime:
          type: string
          description: An ISO 8601 timestamp for when the latest time the license has been known to be valid, a missing value indicates the indefinite future.
        secondaryNumber:
          type: string
          description: The secondary number of a definition.
        capabilityBankId:
          type: string
          description: the capability bank id
        parentLicenseNumber:
          type: string
          description: the parent number of the license. can be shared by multiple license numbers
    licenseStatus:
      type: object
      example:
        type: Signed
        trial: false
        valid: 2018-01-01/2018-12-31
        origin: Internal
        status: Ok
        product: Qlik Sense Business
        extensionStatus: Unavailable
      required:
      - origin
      - product
      - status
      - trial
      - type
      - valid
      - extensionStatus
      - deactivated
      properties:
        type:
          enum:
          - Signed
          - Plain
          - '2.0'
          type: string
          description: Type of license key.
        trial:
          type: boolean
          description: Boolean indicating if it is a trial license.
        valid:
          type: string
          description: Period that the license is currently set to be active. Represented as an ISO 8601 time interval with start and end.
        origin:
          enum:
          - Internal
          - External
          type: string
          description: Origin of license key.
        status:
          enum:
          - Ok
          - Blacklisted
          - Expired
          - Missing
          type: string
          description: Enum with status of license. Only status Ok grants license. access.
        product:
          type: string
          description: The product the license is valid for.
        deactivated:
          type: boolean
          description: Boolean indicating if the license is deactivated.
        extensionStatus:
          enum:
          - Unavailable
          - Pending
          - Available
          type: string
          description: Enum with extension status of license. access.
    consumptionEventsResponse:
      type: object
      required:
      - data
      - links
      properties:
        data:
          type: array
          items:
            properties:
              id:
                type: string
                description: ID
              appId:
                type: string
                description: App ID
              userId:
                type: string
                description: User ID
              endTime:
                type: string
                description: Engine session end time.
                x-qlik-filterable: true
              duration:
                type: string
                description: Engine session duration.
              sessionId:
                type: string
                description: Engine session ID.
              allotmentId:
                type: string
                description: Allotment ID
              minutesUsed:
                type: integer
                description: Analyzer capacity minutes consumed.
              capacityUsed:
                type: integer
                description: Analyzer capacity chunks consumed.
              licenseUsage:
                type: string
                description: License usage
        links:
          type: object
          properties:
            next:
              $ref: '#/components/schemas/href'
            prev:
              $ref: '#/components/schemas/href'
    assignmentsActionsUpdateResponse:
      type: object
      example:
        data:
        - type: professional
          status: 200
          subject: qlik\malik
          sourceType: analyzer
        - code: LICENSES-016
          title: Assignment not found.
          status: 404
          subject: qlik/sara
          sourceType: analyzer
      required:
      - data
      properties:
        data:
          type: array
          items:
            required:
            - status
            properties:
              code:
                type: string
                description: Error code
              type:
                type: string
                description: Target allotment type.
              title:
                type: string
                description: Error title
              status:
                type: integer
                description: HTTP status code indicating the result of the individual assignment operation. A value of 200 represents a successful update, while 201 indicates a new resource was created due to a subject update. Any 400-level status codes indicate an error.
              subject:
                type: string
                description: Target subject.
              sourceType:
                type: string
                description: Current allotment type.
              sourceSubject:
                type: string
                description: Current subject.
    assignmentsActionsDeleteResponse:
      type: object
      example:
        data:
        - type: professional
          status: 200
          subject: qlik\malik
        - code: LICENSES-016
          type: analyzer
          title: Assignment not found.
          status: 404
          subject: qlik\no
      required:
      - data
      properties:
        data:
          type: array
          items:
            required:
            - status
            properties:
              code:
                type: string
                description: Error code
              type:
                type: string
                description: Allotment type
              title:
                type: string
                description: Error title
              status:
                type: integer
                description: Response status
              subject:
                type: string
                description: Subject
    assignmentsActionsDeleteRequest:
      type: object
      example:
        delete:
        - type: analyzer
          subject: qlik\malik
      required:
      - delete
      properties:
        delete:
          type: array
          items:
            type: object
            required:
            - subject
            - type
            properties:
              type:
                type: string
                description: Allotment type
              subject:
                type: string
                description: User subject
    assignmentsActionsUpdateRequest:
      type: object
      example:
        update:
        - type: professional
          subject: qlik\malik
          sourceType: analyzer
      required:
      - update
      properties:
        update:
          type: array
          items:
            type: object
            required:
            - subject
            properties:
              type:
                type: string
                description: Target assignment type.
              subject:
                type: string
                description: User subject, the current or the desired after the patch.
              sourceType:
                type: string
                description: Current assignment type.
              sourceSubject:
                type: string
                description: The current user subject, in case that should be patched.
    assignmentsResponse:
      type: object
      example:
        data:
        - type: analyzer
          excess: false
          created: '2020-12-03T09:24:48.114Z'
          subject: qlik\kalle
        - type: false
          created: '2020-12-03T09:24:48.114Z'
          subject: qlik\nalle
        links:
          next:
            href: http://license/v1/licenses/assignments?limit=4&page=bmV4dDpGZ0FBQUFkZmFXUUFYOHBUcTlpM1U4UU1YWHZrQUE%3D
          prev:
            href: http://license/v1/licenses/assignments?limit=4&page=cHJldjpGZ0FBQUFkZmFXUUFYOHBUcTlpM1U4UU1YWHZ0QUE%3D
      required:
      - data
      - links
      properties:
        data:
          type: array
          items:
            required:
            - type
            - subject
            - excess
            - created
            properties:
              type:
                type: string
                description: Allotment type
              excess:
                type: boolean
                description: Assignment excess status.
              created:
                type: string
                description: Assignment created date.
              subject:
                type: string
                description: Subject
        links:
          type: object
          properties:
            next:
              $ref: '#/components/schemas/href'
            prev:
              $ref: '#/components/schemas/href'
    href:
      type: object
      properties:
        href:
          type: string
          description: link
    errorResponse:
      type: object
      example:
        error: util.Error
        errors:
        - code: LICENSES-123
          title: error title
        message: error message
      required:
      - errors
      - error
      - message
      properties:
        error:
          type: string
          description: Error type
          x-qlik-deprecated: true
        errors:
          type: array
          items:
            type: object
            required:
            - code
            - title
            properties:
              code:
                type: string
                description: Error code
              title:
                type: string
                description: Error title
              detail:
                type: string
                description: Additional error detail.
        message:
          type: string
          description: Error message
          x-qlik-deprecated: true
    assignmentsActionsAddRequest:
      type: object
      example:
        add:
        - type: professional
          subject: qlik\kalle
        - type: analyzer
          subject: qlik\nalle
      required:
      - add
      properties:
        add:
          type: array
          items:
            type: object
            required:
            - subject
            - type
            properties:
              name:
                type: string
                description: User name
                x-qlik-deprecated: true
              type:
                type: string
                description: Allotment type
              userId:
                type: string
                description: User ID
                x-qlik-deprecated: true
              subject:
                type: string
                description: User subject
    settingsBody:
      type: object
      example:
        autoAssignAnalyzer: true
        autoAssignProfessional: false
      properties:
        autoAssignAnalyzer:
          type: boolean
          description: If analyzer users are available, they will be automatically assigned. Otherwise, analyzer capacity will be assigned, if available.
        autoAssignProfessional:
          type: boolean
          description: If professional users are available, they will be automatically assigned. Otherwise, analyzer capacity will be assigned, if available.