Qlik Sense Tenants API

The tenants API from Qlik Sense — 5 operation(s) for tenants.

Operations 6

POST /api/v1/tenants Create a tenant #
GET /api/v1/tenants/{tenantId} Get a tenant #
PATCH /api/v1/tenants/{tenantId} Update a tenant #
POST /api/v1/tenants/{tenantId}/actions/deactivate Deactivate a tenant #
POST /api/v1/tenants/{tenantId}/actions/reactivate Reactivate a tenant #
GET /api/v1/tenants/me Redirect to current tenant #

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-tenants-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-tenants-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tenants 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: Tenants
paths:
  /api/v1/tenants:
    post:
      tags:
      - Tenants
      summary: Create a tenant
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tenant'
          description: Tenant created.
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
              examples:
                MissingLicenseKeyProperty:
                  value:
                    errors:
                    - code: TENANTS-21
                      title: Missing licenseKey property
                      status: '400'
          description: Invalid request was made.
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
              examples:
                InvalidLicense:
                  value:
                    errors:
                    - code: TENANTS-23
                      title: Invalid license error
                      status: '403'
                LicenseQuotaLimitReached:
                  value:
                    errors:
                    - code: TENANTS-22
                      title: License quota limit reached
                      status: '403'
          description: Invalid request was made.
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
              examples:
                InternalServerError:
                  value:
                    errors:
                    - code: TENANTS-24
                      title: Internal server error
                      status: '500'
          description: Internal server error
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Unexpected error.
      description: Creates a tenant in the requested region, linked to the provided license key. You must use a regional OAuth client generated via the My Qlik portal to call this endpoint. Tenant creation, deactivation, and reactivation requests must be sent to the register endpoint in the relevant Qlik Cloud region, e.g. `https://register.us.qlikcloud.com/api/v1/tenants` if interacting with tenants in the `us` region.
      operationId: createTenant
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TenantCreationRequest'
        required: true
      x-qlik-visibility: public
      x-qlik-stability: stable
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: '2'
        limit: 100
  /api/v1/tenants/{tenantId}:
    get:
      tags:
      - Tenants
      summary: Get a tenant
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tenant'
          description: Tenant found.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Tenant not found.
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Unexpected error
      parameters:
      - in: path
        name: tenantId
        schema:
          type: string
          format: uid
          example: TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69
        required: true
        description: The ID of the tenant to retrieve
      description: Retrieves a specific tenant by ID.
      operationId: getTenantById
      x-qlik-visibility: public
      x-qlik-stability: stable
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: '1'
        limit: 1000
    patch:
      tags:
      - Tenants
      summary: Update a tenant
      responses:
        '204':
          description: Tenant updated successfully
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TenantPatchErrors'
          description: Invalid PATCH request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Tenant not found.
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Request has been rate limited.
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Unexpected error
      parameters:
      - in: path
        name: tenantId
        schema:
          type: string
          format: uid
          example: TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69
        required: true
        description: The ID of the tenant to update
      description: Updates properties of a specific tenant by ID.
      operationId: updateTenantById
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TenantPatchSchema'
        required: true
      x-qlik-visibility: public
      x-qlik-stability: stable
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: '2'
        limit: 100
  /api/v1/tenants/{tenantId}/actions/deactivate:
    post:
      tags:
      - Tenants
      summary: Deactivate a tenant
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TenantDeactivateResponse'
          description: Tenant deactivated successfully
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Invalid request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Tenant Not Found
        '412':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Precondition Failed (invalid qlik-confirm-hostname value)
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Request has been rate limited.
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Unexpected error
      parameters:
      - in: path
        name: tenantId
        schema:
          type: string
          format: uid
          example: TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69
        required: true
        description: The id of the tenant to deactivate
      - in: header
        name: qlik-confirm-hostname
        schema:
          type: string
          format: hostname
          example: unicorn.eu.qlikcloud.com
        required: true
        description: 'A confirmation string that should match the hostname associated with the tenant resource to be deactivated. Example: unicorn.eu.qlikcloud.com'
      description: Deactivates a specific tenant. Once deactivated, tenant will be deleted on or after `estimatedPurgeDate`. Tenant can be reactivated using `/v1/tenants/{tenantId}/actions/reactivate` until this date. You must use a regional OAuth client generated via the My Qlik portal to call this endpoint. Tenant creation, deactivation, and reactivation requests must be sent to the register endpoint in the relevant Qlik Cloud region, e.g. `https://register.us.qlikcloud.com/api/v1/tenants/{tenantId}/actions/deactivate` if interacting with tenants in the `us` region.
      operationId: deactivateTenantById
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TenantDeactivateRequest'
      x-qlik-visibility: public
      x-qlik-stability: stable
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: '2'
        limit: 100
  /api/v1/tenants/{tenantId}/actions/reactivate:
    post:
      tags:
      - Tenants
      summary: Reactivate a tenant
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
          description: Tenant reactivated successfully
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Not Found
        '412':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Precondition Failed (invalid qlik-confirm-hostname value)
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Request has been rate limited.
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
          description: Unexpected error
      parameters:
      - in: path
        name: tenantId
        schema:
          type: string
          format: uid
          example: TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69
        required: true
        description: The id of the tenant to reactivate
      - in: header
        name: qlik-confirm-hostname
        schema:
          type: string
          example: unicorn.us.qlikcloud.com
        required: true
        description: 'A confirmation string that should match one of the hostnames of the tenant resource to be reactivated. Example: unicorn.eu.qlikcloud.com'
      description: Reactivates a deactivated tenant. Tenants can be reactivated until the `estimatedPurgeDate` provided at time of deactivation. You must use a regional OAuth client generated via the My Qlik portal to call this endpoint. Tenant creation, deactivation, and reactivation requests must be sent to the register endpoint in the relevant Qlik Cloud region, e.g. `https://register.us.qlikcloud.com/api/v1/tenants/{tenantId}/actions/reactivate` if interacting with tenants in the `us` region.
      operationId: reactivateTenantById
      requestBody:
        content:
          application/json:
            schema:
              type: object
      x-qlik-visibility: public
      x-qlik-stability: stable
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: '2'
        limit: 100
  /api/v1/tenants/me:
    get:
      tags:
      - Tenants
      summary: Redirect to current tenant
      responses:
        '302':
          content:
            text/html:
              schema:
                type: string
          headers:
            Location:
              schema:
                type: string
          description: Successful redirect.
      description: Redirects to current tenant.
      x-qlik-visibility: public
      x-qlik-stability: stable
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: '1'
        limit: 1000
      operationId: getApiV1TenantsMe
      x-operation-id-source: derived
components:
  schemas:
    Error:
      type: object
      required:
      - code
      - status
      - title
      properties:
        code:
          type: string
          description: The error code.
        meta:
          type: object
          description: Additional properties relating to the error.
        title:
          type: string
          description: Summary of the problem.
        detail:
          type: string
          description: A human-readable explanation specific to this occurrence of the error.
        source:
          type: object
          properties:
            pointer:
              type: string
              description: A JSON Pointer to the property that caused the error.
            parameter:
              type: string
              description: The URI query parameter that caused the error.
          description: References to the source of the error.
        status:
          type: string
          description: The HTTP status code.
      description: An error object describing the error.
    TenantCreationRequest:
      type: object
      properties:
        datacenter:
          type: string
          example: us-east-1
          description: 'The datacenter where the tenant is located.


            Supported locations for commercial licenses:

            - `ap-northeast-1`: Japan (jp)

            - `ap-southeast-1`: Australia (ap)

            - `ap-southeast-2`: Singapore (sg)

            - `eu-central-1`: Germany (de)

            - `eu-west-1`: Ireland (eu)

            - `eu-west-2`: United Kingdom (uk)

            - `us-east-1`: United States of America (us)

            '
        licenseKey:
          type: string
          example: 1234567890
          description: The signed license key of the license that will be associated with the created tenant.
    TenantPatchErrors:
      type: object
      properties:
        errors:
          type: array
          items:
            type: object
            required:
            - code
            - title
            properties:
              code:
                type: string
                example: TENANTS-10
                description: The error code.
              meta:
                oneOf:
                - $ref: '#/components/schemas/TenantSingleMetaErrorDetail'
                - $ref: '#/components/schemas/TenantMultipleMetaErrorsDetail'
              title:
                type: string
                example: Invalid PATCH request
                description: Summary of the problem.
              source:
                type: object
                properties:
                  pointer:
                    type: string
                    example: /hostnames/1
                    description: A JSON Pointer to the property that caused the error.
                  parameter:
                    type: string
                    description: The URI query parameter that caused the error.
                description: References to the source of the error.
            description: An error object.
    Tenant:
      type: object
      required:
      - name
      - id
      properties:
        id:
          type: string
          format: uid
          example: TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69
          readOnly: true
          description: The unique tenant identifier.
          x-qlik-visibility: public
        name:
          type: string
          example: QlikTenant
          description: The display name of the tenant.
        links:
          type: object
          readOnly: true
          required:
          - self
          properties:
            self:
              type: object
              required:
              - href
              properties:
                href:
                  type: string
                  example: http://foo.example/api/v1/tenants/TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69
                  description: URL that defines the resource.
              description: A link to this tenant.
        region:
          type: string
          example: us
          readOnly: true
          description: The region where the tenant is located.
        status:
          enum:
          - active
          - disabled
          - deleted
          - user-access-disabled
          type: string
          description: The status of the tenant.
        created:
          type: string
          format: date
          readOnly: true
          description: The timestamp for when the tenant record was created (1970-01-01T00:00:00.001Z for static tenants).
        hostnames:
          type: array
          items:
            type: string
            example: foo.example
          description: List of case insensitive hostnames that are mapped to the tenant. The first record maps to the display name and the subsequent entries are aliases.
        datacenter:
          type: string
          example: us-east-1
          description: The datacenter where the tenant is located.
        lastUpdated:
          type: string
          format: date
          readOnly: true
          description: The timestamp for when the tenant record was last updated (1970-01-01T00:00:00.001Z for static tenants).
        createdByUser:
          type: string
          example: TiQ8GPVr8qI714Lp5ChAAFFaU24MJy7A
          description: The user ID who created the tenant.
        statusLastUpdatedAt:
          type: string
          format: date-time
          example: '2023-08-18T12:34:56.789Z'
          readOnly: true
          description: The timestamp for when the tenant status was last changed.
        enableAnalyticCreation:
          type: boolean
          default: false
          x-qlik-deprecated: true
          x-qlik-deprecated-sunset: 2027-03
          x-qlik-deprecated-version: 2026-03
          x-qlik-deprecated-description: enableAnalyticCreation is deprecated and will be removed in a future version.
        enableAppOpeningFeedback:
          type: boolean
          default: false
        autoAssignCreateSharedSpacesRoleToProfessionals:
          type: boolean
          default: true
        autoAssignDataServicesContributorRoleToProfessionals:
          type: boolean
          default: true
        autoAssignPrivateAnalyticsContentCreatorRoleToProfessionals:
          type: boolean
          default: true
    Errors:
      type: object
      example:
        errors:
        - code: TENANTS-8
          title: Not found
          status: 404
        traceId: 000000000000000079cf1ebeae103de1
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/Error'
          description: An array of errors related to the operation.
        traceId:
          type: string
          description: A unique identifier for tracing the error.
      description: The error response object describing the error from the handling of an HTTP request.
    TenantSingleMetaErrorDetail:
      type: object
      properties:
        code:
          type: string
          example: TENANTS-10
          description: The error code.
        title:
          type: string
          example: Subdomain should be between 3 and 63 characters
          description: The error summary.
    TenantDeactivateRequest:
      type: object
      properties:
        purgeAfterDays:
          type: integer
          default: 30
          maximum: 90
          minimum: 10
          description: Sets the number of days to purge the tenant after deactivation. Only available to OEMs.
      description: A request to deactivate a tenant.
    TenantDeactivateResponse:
      type: object
      properties:
        id:
          type: string
          format: uid
          example: TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69
          readOnly: true
          description: The unique tenant identifier.
        status:
          enum:
          - disabled
          type: string
          description: The status of the tenant.
        estimatedPurgeDate:
          type: string
          format: date-time
          example: '2023-08-18T00:00:00.000Z'
          description: The estimated date time of when tenant will be purged.
      description: The result of tenant deactivation.
    TenantMultipleMetaErrorsDetail:
      type: array
      items:
        $ref: '#/components/schemas/TenantSingleMetaErrorDetail'
    TenantPatchSchema:
      type: array
      items:
        type: object
        required:
        - op
        - path
        - value
        properties:
          op:
            enum:
            - replace
            type: string
            description: The operation to be performed.
          path:
            enum:
            - /name
            - /hostnames/1
            - /autoAssignCreateSharedSpacesRoleToProfessionals
            - /autoAssignPrivateAnalyticsContentCreatorRoleToProfessionals
            - /autoAssignDataServicesContributorRoleToProfessionals
            - /enableAnalyticCreation
            - /enableAppOpeningFeedback
            type: string
            description: A JSON Pointer value that references a location within the target document where the operation is performed.
          value:
            oneOf:
            - type: string
            - type: boolean
            description: The value to be used for this operation.
        description: A JSON Patch document as defined in http://tools.ietf.org/html/rfc6902.
      example:
      - op: replace
        path: /name
        value: Corp
      - op: replace
        path: /hostnames/1
        value: example-tenant.us.qlikcloud.com
      - op: replace
        path: /autoAssignCreateSharedSpacesRoleToProfessionals
        value: true
      - op: replace
        path: /autoAssignPrivateAnalyticsContentCreatorRoleToProfessionals
        value: false
      - op: replace
        path: /autoAssignDataServicesContributorRoleToProfessionals
        value: true
      - op: replace
        path: /enableAnalyticCreation
        value: false