Tenants
Tenants are the highest level of logical container, with this API supporting configuration of several key tenant settings.
Endpoints
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.
Facts
| Rate limit | Tier 2 (100 requests per minute) |
Request Body
Required- application/json object
application/json properties
- datacenter string
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 string
The signed license key of the license that will be associated with the created tenant.
-
Responses
201
Tenant created.
- application/json object
application/json properties
- id stringRequired
The unique tenant identifier.
- name stringRequired
The display name of the tenant.
- links object
links properties
- self objectRequired
A link to this tenant.
self properties
- href stringRequired
URL that defines the resource.
-
-
- region string
The region where the tenant is located.
- status string
The status of the tenant.
Can be one of: "active""disabled""deleted""user-access-disabled"
- created string
The timestamp for when the tenant record was created (1970-01-01T00:00:00.001Z for static tenants).
- hostnames array of strings
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 string
The datacenter where the tenant is located.
- lastUpdated string
The timestamp for when the tenant record was last updated (1970-01-01T00:00:00.001Z for static tenants).
- createdByUser string
The user ID who created the tenant.
- statusLastUpdatedAt string
The timestamp for when the tenant status was last changed.
- enableAnalyticCreation boolean Deprecated Sunset 2027-03
- enableAppOpeningFeedback boolean
- autoAssignCreateSharedSpacesRoleToProfessionals boolean
- autoAssignDataServicesContributorRoleToProfessionals boolean
- autoAssignPrivateAnalyticsContentCreatorRoleToProfessionals boolean
-
400
Invalid request was made.
- application/json object
The error response object describing the error from the handling of an HTTP request.
application/json properties
- errors array of objects
An array of errors related to the operation.
errors properties
- code stringRequired
The error code.
- meta object
Additional properties relating to the error.
- title stringRequired
Summary of the problem.
- detail string
A human-readable explanation specific to this occurrence of the error.
- source object
References to the source of the error.
source properties
- pointer string
A JSON Pointer to the property that caused the error.
- parameter string
The URI query parameter that caused the error.
-
- status stringRequired
The HTTP status code.
-
- traceId string
A unique identifier for tracing the error.
-
403
Invalid request was made.
- application/json object
The error response object describing the error from the handling of an HTTP request.
application/json properties
- errors array of objects
An array of errors related to the operation.
errors properties
- code stringRequired
The error code.
- meta object
Additional properties relating to the error.
- title stringRequired
Summary of the problem.
- detail string
A human-readable explanation specific to this occurrence of the error.
- source object
References to the source of the error.
source properties
- pointer string
A JSON Pointer to the property that caused the error.
- parameter string
The URI query parameter that caused the error.
-
- status stringRequired
The HTTP status code.
-
- traceId string
A unique identifier for tracing the error.
-
500
Internal server error
- application/json object
The error response object describing the error from the handling of an HTTP request.
application/json properties
- errors array of objects
An array of errors related to the operation.
errors properties
- code stringRequired
The error code.
- meta object
Additional properties relating to the error.
- title stringRequired
Summary of the problem.
- detail string
A human-readable explanation specific to this occurrence of the error.
- source object
References to the source of the error.
source properties
- pointer string
A JSON Pointer to the property that caused the error.
- parameter string
The URI query parameter that caused the error.
-
- status stringRequired
The HTTP status code.
-
- traceId string
A unique identifier for tracing the error.
-
default
Unexpected error.
- application/json object
The error response object describing the error from the handling of an HTTP request.
application/json properties
- errors array of objects
An array of errors related to the operation.
errors properties
- code stringRequired
The error code.
- meta object
Additional properties relating to the error.
- title stringRequired
Summary of the problem.
- detail string
A human-readable explanation specific to this occurrence of the error.
- source object
References to the source of the error.
source properties
- pointer string
A JSON Pointer to the property that caused the error.
- parameter string
The URI query parameter that caused the error.
-
- status stringRequired
The HTTP status code.
-
- traceId string
A unique identifier for tracing the error.
-
import { createQlikApi } from '@qlik/api'
const qlik = createQlikApi({ hostConfig: { host: 'https://{tenant}.{region}.qlikcloud.com', apiKey: '<access-token>', },})
await qlik.tenants.createTenant({ datacenter: 'us-east-1', licenseKey: '1234567890',})qlik tenant createcurl "https://{tenant}.{region}.qlikcloud.com/api/v1/tenants" \-X POST \-H "Content-type: application/json" \-H "Authorization: Bearer <access_token>" \-d '{"datacenter":"us-east-1","licenseKey":1234567890}'Example Response
{ "id": "TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69", "name": "QlikTenant", "links": { "self": { "href": "http://foo.example/api/v1/tenants/TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69" } }, "region": "us", "status": "active", "created": "string", "hostnames": [ "foo.example" ], "datacenter": "us-east-1", "lastUpdated": "string", "createdByUser": "TiQ8GPVr8qI714Lp5ChAAFFaU24MJy7A", "statusLastUpdatedAt": "2023-08-18T12:34:56.789Z", "enableAnalyticCreation": false, "enableAppOpeningFeedback": false, "autoAssignCreateSharedSpacesRoleToProfessionals": true, "autoAssignDataServicesContributorRoleToProfessionals": true, "autoAssignPrivateAnalyticsContentCreatorRoleToProfessionals": true}Retrieves a specific tenant by ID.
Facts
| Rate limit | Tier 1 (1000 requests per minute) |
Path Parameters
- tenantId stringRequired
The ID of the tenant to retrieve
Responses
200
Tenant found.
- application/json object
application/json properties
- id stringRequired
The unique tenant identifier.
- name stringRequired
The display name of the tenant.
- links object
links properties
- self objectRequired
A link to this tenant.
self properties
- href stringRequired
URL that defines the resource.
-
-
- region string
The region where the tenant is located.
- status string
The status of the tenant.
Can be one of: "active""disabled""deleted""user-access-disabled"
- created string
The timestamp for when the tenant record was created (1970-01-01T00:00:00.001Z for static tenants).
- hostnames array of strings
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 string
The datacenter where the tenant is located.
- lastUpdated string
The timestamp for when the tenant record was last updated (1970-01-01T00:00:00.001Z for static tenants).
- createdByUser string
The user ID who created the tenant.
- statusLastUpdatedAt string
The timestamp for when the tenant status was last changed.
- enableAnalyticCreation boolean Deprecated Sunset 2027-03
- enableAppOpeningFeedback boolean
- autoAssignCreateSharedSpacesRoleToProfessionals boolean
- autoAssignDataServicesContributorRoleToProfessionals boolean
- autoAssignPrivateAnalyticsContentCreatorRoleToProfessionals boolean
-
404
Tenant not found.
- application/json object
The error response object describing the error from the handling of an HTTP request.
application/json properties
- errors array of objects
An array of errors related to the operation.
errors properties
- code stringRequired
The error code.
- meta object
Additional properties relating to the error.
- title stringRequired
Summary of the problem.
- detail string
A human-readable explanation specific to this occurrence of the error.
- source object
References to the source of the error.
source properties
- pointer string
A JSON Pointer to the property that caused the error.
- parameter string
The URI query parameter that caused the error.
-
- status stringRequired
The HTTP status code.
-
- traceId string
A unique identifier for tracing the error.
-
default
Unexpected error
- application/json object
The error response object describing the error from the handling of an HTTP request.
application/json properties
- errors array of objects
An array of errors related to the operation.
errors properties
- code stringRequired
The error code.
- meta object
Additional properties relating to the error.
- title stringRequired
Summary of the problem.
- detail string
A human-readable explanation specific to this occurrence of the error.
- source object
References to the source of the error.
source properties
- pointer string
A JSON Pointer to the property that caused the error.
- parameter string
The URI query parameter that caused the error.
-
- status stringRequired
The HTTP status code.
-
- traceId string
A unique identifier for tracing the error.
-
import { createQlikApi } from '@qlik/api'
const qlik = createQlikApi({ hostConfig: { host: 'https://{tenant}.{region}.qlikcloud.com', apiKey: '<access-token>', },})
await qlik.tenants.getTenant( 'TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69',)qlik tenant get 'TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69'curl "https://{tenant}.{region}.qlikcloud.com/api/v1/tenants/{tenantId}" \-H "Authorization: Bearer <access_token>"Example Response
{ "id": "TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69", "name": "QlikTenant", "links": { "self": { "href": "http://foo.example/api/v1/tenants/TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69" } }, "region": "us", "status": "active", "created": "string", "hostnames": [ "foo.example" ], "datacenter": "us-east-1", "lastUpdated": "string", "createdByUser": "TiQ8GPVr8qI714Lp5ChAAFFaU24MJy7A", "statusLastUpdatedAt": "2023-08-18T12:34:56.789Z", "enableAnalyticCreation": false, "enableAppOpeningFeedback": false, "autoAssignCreateSharedSpacesRoleToProfessionals": true, "autoAssignDataServicesContributorRoleToProfessionals": true, "autoAssignPrivateAnalyticsContentCreatorRoleToProfessionals": true}Updates properties of a specific tenant by ID.
Facts
| Rate limit | Tier 2 (100 requests per minute) |
Path Parameters
- tenantId stringRequired
The ID of the tenant to update
Request Body
Required- application/json array of objects
A JSON Patch document as defined in http://tools.ietf.org/html/rfc6902.
application/json properties
- op stringRequired
The operation to be performed.
Can be one of: "replace"
- path stringRequired
A JSON Pointer value that references a location within the target document where the operation is performed.
Can be one of: "/name""/hostnames/1""/autoAssignCreateSharedSpacesRoleToProfessionals""/autoAssignPrivateAnalyticsContentCreatorRoleToProfessionals""/autoAssignDataServicesContributorRoleToProfessionals""/enableAnalyticCreation""/enableAppOpeningFeedback"
- value string|booleanRequired
The value to be used for this operation.
One of:- string
- boolean
-
-
Responses
204
Tenant updated successfully
400
Invalid PATCH request
- application/json object
application/json properties
- errors array of objects
An error object.
errors properties
- code stringRequired
The error code.
- meta object|arrayOne of:
- TenantSingleMetaErrorDetail object
TenantSingleMetaErrorDetail properties
- code string
The error code.
- title string
The error summary.
-
- TenantMultipleMetaErrorsDetail array of objects
TenantMultipleMetaErrorsDetail properties
- code string
The error code.
- title string
The error summary.
-
-
- title stringRequired
Summary of the problem.
- source object
References to the source of the error.
source properties
- pointer string
A JSON Pointer to the property that caused the error.
- parameter string
The URI query parameter that caused the error.
-
-
-
403
Forbidden
- application/json object
The error response object describing the error from the handling of an HTTP request.
application/json properties
- errors array of objects
An array of errors related to the operation.
errors properties
- code stringRequired
The error code.
- meta object
Additional properties relating to the error.
- title stringRequired
Summary of the problem.
- detail string
A human-readable explanation specific to this occurrence of the error.
- source object
References to the source of the error.
source properties
- pointer string
A JSON Pointer to the property that caused the error.
- parameter string
The URI query parameter that caused the error.
-
- status stringRequired
The HTTP status code.
-
- traceId string
A unique identifier for tracing the error.
-
404
Tenant not found.
- application/json object
The error response object describing the error from the handling of an HTTP request.
application/json properties
- errors array of objects
An array of errors related to the operation.
errors properties
- code stringRequired
The error code.
- meta object
Additional properties relating to the error.
- title stringRequired
Summary of the problem.
- detail string
A human-readable explanation specific to this occurrence of the error.
- source object
References to the source of the error.
source properties
- pointer string
A JSON Pointer to the property that caused the error.
- parameter string
The URI query parameter that caused the error.
-
- status stringRequired
The HTTP status code.
-
- traceId string
A unique identifier for tracing the error.
-
429
Request has been rate limited.
- application/json object
The error response object describing the error from the handling of an HTTP request.
application/json properties
- errors array of objects
An array of errors related to the operation.
errors properties
- code stringRequired
The error code.
- meta object
Additional properties relating to the error.
- title stringRequired
Summary of the problem.
- detail string
A human-readable explanation specific to this occurrence of the error.
- source object
References to the source of the error.
source properties
- pointer string
A JSON Pointer to the property that caused the error.
- parameter string
The URI query parameter that caused the error.
-
- status stringRequired
The HTTP status code.
-
- traceId string
A unique identifier for tracing the error.
-
default
Unexpected error
- application/json object
The error response object describing the error from the handling of an HTTP request.
application/json properties
- errors array of objects
An array of errors related to the operation.
errors properties
- code stringRequired
The error code.
- meta object
Additional properties relating to the error.
- title stringRequired
Summary of the problem.
- detail string
A human-readable explanation specific to this occurrence of the error.
- source object
References to the source of the error.
source properties
- pointer string
A JSON Pointer to the property that caused the error.
- parameter string
The URI query parameter that caused the error.
-
- status stringRequired
The HTTP status code.
-
- traceId string
A unique identifier for tracing the error.
-
import { createQlikApi } from '@qlik/api'
const qlik = createQlikApi({ hostConfig: { host: 'https://{tenant}.{region}.qlikcloud.com', apiKey: '<access-token>', },})
await qlik.tenants.patchTenant( 'TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69', [ { 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', },
{ op: 'replace', path: '/autoAssignDataServicesContributorRoleToProfessionals', value: true, },
{ op: 'replace', path: '/enableAnalyticCreation', }, ],)qlik tenant patch 'TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69' \ --op 'replace' \ --path '/name' \ --value Corpcurl "https://{tenant}.{region}.qlikcloud.com/api/v1/tenants/{tenantId}" \-X PATCH \-H "Content-type: application/json" \-H "Authorization: Bearer <access_token>" \-d '[{"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}]'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.
Facts
| Rate limit | Tier 2 (100 requests per minute) |
Header Parameters
- qlik-confirm-hostname stringRequired
A confirmation string that should match the hostname associated with the tenant resource to be deactivated. Example: unicorn.eu.qlikcloud.com
Path Parameters
- tenantId stringRequired
The id of the tenant to deactivate
Request Body
- application/json object
A request to deactivate a tenant.
application/json properties
- purgeAfterDays integer
Sets the number of days to purge the tenant after deactivation. Only available to OEMs.
-
Responses
200
Tenant deactivated successfully
- application/json object
The result of tenant deactivation.
application/json properties
- id string
The unique tenant identifier.
- status string
The status of the tenant.
Can be one of: "disabled"
- estimatedPurgeDate string
The estimated date time of when tenant will be purged.
-
400
Invalid request
- application/json object
The error response object describing the error from the handling of an HTTP request.
application/json properties
- errors array of objects
An array of errors related to the operation.
errors properties
- code stringRequired
The error code.
- meta object
Additional properties relating to the error.
- title stringRequired
Summary of the problem.
- detail string
A human-readable explanation specific to this occurrence of the error.
- source object
References to the source of the error.
source properties
- pointer string
A JSON Pointer to the property that caused the error.
- parameter string
The URI query parameter that caused the error.
-
- status stringRequired
The HTTP status code.
-
- traceId string
A unique identifier for tracing the error.
-
403
Forbidden
- application/json object
The error response object describing the error from the handling of an HTTP request.
application/json properties
- errors array of objects
An array of errors related to the operation.
errors properties
- code stringRequired
The error code.
- meta object
Additional properties relating to the error.
- title stringRequired
Summary of the problem.
- detail string
A human-readable explanation specific to this occurrence of the error.
- source object
References to the source of the error.
source properties
- pointer string
A JSON Pointer to the property that caused the error.
- parameter string
The URI query parameter that caused the error.
-
- status stringRequired
The HTTP status code.
-
- traceId string
A unique identifier for tracing the error.
-
404
Tenant Not Found
- application/json object
The error response object describing the error from the handling of an HTTP request.
application/json properties
- errors array of objects
An array of errors related to the operation.
errors properties
- code stringRequired
The error code.
- meta object
Additional properties relating to the error.
- title stringRequired
Summary of the problem.
- detail string
A human-readable explanation specific to this occurrence of the error.
- source object
References to the source of the error.
source properties
- pointer string
A JSON Pointer to the property that caused the error.
- parameter string
The URI query parameter that caused the error.
-
- status stringRequired
The HTTP status code.
-
- traceId string
A unique identifier for tracing the error.
-
412
Precondition Failed (invalid qlik-confirm-hostname value)
- application/json object
The error response object describing the error from the handling of an HTTP request.
application/json properties
- errors array of objects
An array of errors related to the operation.
errors properties
- code stringRequired
The error code.
- meta object
Additional properties relating to the error.
- title stringRequired
Summary of the problem.
- detail string
A human-readable explanation specific to this occurrence of the error.
- source object
References to the source of the error.
source properties
- pointer string
A JSON Pointer to the property that caused the error.
- parameter string
The URI query parameter that caused the error.
-
- status stringRequired
The HTTP status code.
-
- traceId string
A unique identifier for tracing the error.
-
429
Request has been rate limited.
- application/json object
The error response object describing the error from the handling of an HTTP request.
application/json properties
- errors array of objects
An array of errors related to the operation.
errors properties
- code stringRequired
The error code.
- meta object
Additional properties relating to the error.
- title stringRequired
Summary of the problem.
- detail string
A human-readable explanation specific to this occurrence of the error.
- source object
References to the source of the error.
source properties
- pointer string
A JSON Pointer to the property that caused the error.
- parameter string
The URI query parameter that caused the error.
-
- status stringRequired
The HTTP status code.
-
- traceId string
A unique identifier for tracing the error.
-
default
Unexpected error
- application/json object
The error response object describing the error from the handling of an HTTP request.
application/json properties
- errors array of objects
An array of errors related to the operation.
errors properties
- code stringRequired
The error code.
- meta object
Additional properties relating to the error.
- title stringRequired
Summary of the problem.
- detail string
A human-readable explanation specific to this occurrence of the error.
- source object
References to the source of the error.
source properties
- pointer string
A JSON Pointer to the property that caused the error.
- parameter string
The URI query parameter that caused the error.
-
- status stringRequired
The HTTP status code.
-
- traceId string
A unique identifier for tracing the error.
-
import { createQlikApi } from '@qlik/api'
const qlik = createQlikApi({ hostConfig: { host: 'https://{tenant}.{region}.qlikcloud.com', apiKey: '<access-token>', },})
await qlik.tenants.deactivateTenant( 'TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69', { purgeAfterDays: 30 },)qlik tenant deactivate 'TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69'curl "https://{tenant}.{region}.qlikcloud.com/api/v1/tenants/{tenantId}/actions/deactivate" \-X POST \-H "qlik-confirm-hostname: unicorn.eu.qlikcloud.com" \-H "Content-type: application/json" \-H "Authorization: Bearer <access_token>" \-d '{"purgeAfterDays":30}'Example Response
{ "id": "TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69", "status": "disabled", "estimatedPurgeDate": "2023-08-18T00:00:00.000Z"}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.
Facts
| Rate limit | Tier 2 (100 requests per minute) |
Header Parameters
- qlik-confirm-hostname stringRequired
A confirmation string that should match one of the hostnames of the tenant resource to be reactivated. Example: unicorn.eu.qlikcloud.com
Path Parameters
- tenantId stringRequired
The id of the tenant to reactivate
Request Body
- application/json object
Responses
200
Tenant reactivated successfully
- application/json object
403
Forbidden
- application/json object
The error response object describing the error from the handling of an HTTP request.
application/json properties
- errors array of objects
An array of errors related to the operation.
errors properties
- code stringRequired
The error code.
- meta object
Additional properties relating to the error.
- title stringRequired
Summary of the problem.
- detail string
A human-readable explanation specific to this occurrence of the error.
- source object
References to the source of the error.
source properties
- pointer string
A JSON Pointer to the property that caused the error.
- parameter string
The URI query parameter that caused the error.
-
- status stringRequired
The HTTP status code.
-
- traceId string
A unique identifier for tracing the error.
-
404
Not Found
- application/json object
The error response object describing the error from the handling of an HTTP request.
application/json properties
- errors array of objects
An array of errors related to the operation.
errors properties
- code stringRequired
The error code.
- meta object
Additional properties relating to the error.
- title stringRequired
Summary of the problem.
- detail string
A human-readable explanation specific to this occurrence of the error.
- source object
References to the source of the error.
source properties
- pointer string
A JSON Pointer to the property that caused the error.
- parameter string
The URI query parameter that caused the error.
-
- status stringRequired
The HTTP status code.
-
- traceId string
A unique identifier for tracing the error.
-
412
Precondition Failed (invalid qlik-confirm-hostname value)
- application/json object
The error response object describing the error from the handling of an HTTP request.
application/json properties
- errors array of objects
An array of errors related to the operation.
errors properties
- code stringRequired
The error code.
- meta object
Additional properties relating to the error.
- title stringRequired
Summary of the problem.
- detail string
A human-readable explanation specific to this occurrence of the error.
- source object
References to the source of the error.
source properties
- pointer string
A JSON Pointer to the property that caused the error.
- parameter string
The URI query parameter that caused the error.
-
- status stringRequired
The HTTP status code.
-
- traceId string
A unique identifier for tracing the error.
-
429
Request has been rate limited.
- application/json object
The error response object describing the error from the handling of an HTTP request.
application/json properties
- errors array of objects
An array of errors related to the operation.
errors properties
- code stringRequired
The error code.
- meta object
Additional properties relating to the error.
- title stringRequired
Summary of the problem.
- detail string
A human-readable explanation specific to this occurrence of the error.
- source object
References to the source of the error.
source properties
- pointer string
A JSON Pointer to the property that caused the error.
- parameter string
The URI query parameter that caused the error.
-
- status stringRequired
The HTTP status code.
-
- traceId string
A unique identifier for tracing the error.
-
default
Unexpected error
- application/json object
The error response object describing the error from the handling of an HTTP request.
application/json properties
- errors array of objects
An array of errors related to the operation.
errors properties
- code stringRequired
The error code.
- meta object
Additional properties relating to the error.
- title stringRequired
Summary of the problem.
- detail string
A human-readable explanation specific to this occurrence of the error.
- source object
References to the source of the error.
source properties
- pointer string
A JSON Pointer to the property that caused the error.
- parameter string
The URI query parameter that caused the error.
-
- status stringRequired
The HTTP status code.
-
- traceId string
A unique identifier for tracing the error.
-
import { createQlikApi } from '@qlik/api'
const qlik = createQlikApi({ hostConfig: { host: 'https://{tenant}.{region}.qlikcloud.com', apiKey: '<access-token>', },})
await qlik.tenants.reactivateTenant( 'TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69', {},)qlik tenant reactivate 'TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69'curl "https://{tenant}.{region}.qlikcloud.com/api/v1/tenants/{tenantId}/actions/reactivate" \-X POST \-H "qlik-confirm-hostname: unicorn.us.qlikcloud.com" \-H "Content-type: application/json" \-H "Authorization: Bearer <access_token>" \-d '{}'Example Response
{}Redirects to current tenant.
Facts
| Rate limit | Tier 1 (1000 requests per minute) |
Responses
302
Successful redirect.
- text/html string
import { createQlikApi } from '@qlik/api'
const qlik = createQlikApi({ hostConfig: { host: 'https://{tenant}.{region}.qlikcloud.com', apiKey: '<access-token>', },})
await qlik.tenants.getMyTenant()qlik tenant mecurl "https://{tenant}.{region}.qlikcloud.com/api/v1/tenants/me" \-H "Authorization: Bearer <access_token>"