Tenant settings

Download specification

Get tenant settings

Retrieves tenant settings associated with the tenant ID specified in JWT. This is access controlled by the permission admin.tenant-settings:read.

Facts

Rate limit Tier 1 (1000 requests per minute)

Responses

200

Tenant settings retrieval was successful.

  • application/jsonobject
    Show application/json properties
    • idstring
      Required
    • tenantIdstring
      Required
    • createdAtstring
      Required
    • createdBystring
      Required

      userId of the user who created the settings

    • updatedAtstring
      Required
    • updatedBystring

      userId of the user who last modified the settings

    • releaseCadencestring

      Set the release cadence

      Can be one of: "monthly""continuous"

    • customizeNoAccessobject
      Show customizeNoAccess properties
      • linkUrlstring
      • messagestring
      • linkLabelstring
      • linkEnabledboolean
        Required
    • preferredStartPageobject
      One of:
      • StartPageConfigHubobject
        Show StartPageConfigHub properties
        • routestring

          Can be one of: "/insights"

        • valuestring

          Can be one of: "analytics-hub"

      • StartPageConfigCreationHubobject
        Show StartPageConfigCreationHub properties
        • routestring

          Can be one of: "/analytics"

        • valuestring

          Can be one of: "analytics-creation-hub"

      • StartPageConfigQdiobject
        Show StartPageConfigQdi properties
        • routestring

          Can be one of: "/qdi"

        • valuestring

          Can be one of: "data-integration-hub"

      • StartPageConfigConsoleobject
        Show StartPageConfigConsole properties
        • routestring

          Can be one of: "/console"

        • valuestring

          Can be one of: "management-console"

    • crossRegionDataProcessingboolean

      Set to true to enable cross-region inference, false to disable.

default

Error response.

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Show errors properties
      • codeinteger

        Error code.

      • titlestring

        Error cause.

GET /api/v1/tenant-settings
// qlik-api has not implemented support for `GET /api/v1/tenant-settings` yet.
// In the meantime, you can use fetch like this:
const response = await fetch(
'/api/v1/tenant-settings',
{
method: 'GET',
headers: {
'Content-Type': 'application/json',
},
},
)
This API is not included yet in qlik-cli
curl "https://{tenant}.{region}.qlikcloud.com/api/v1/tenant-settings" \
-H "Authorization: Bearer <access_token>"

Example Response

{
"id": "TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69",
"tenantId": "TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69",
"createdAt": "2018-10-30T07:06:22Z",
"createdBy": "string",
"updatedAt": "2018-10-30T07:06:22Z",
"updatedBy": "string",
"releaseCadence": "monthly",
"customizeNoAccess": {
"linkUrl": "string",
"message": "string",
"linkLabel": "string",
"linkEnabled": true
},
"preferredStartPage": {
"route": "/insights",
"value": "analytics-hub"
},
"crossRegionDataProcessing": true
}

Create tenant settings

Creates a new tenant settings entry for the tenant ID specified in the JWT. This is access controlled by the permission admin.tenant-settings:create.

Facts

Rate limit Tier 2 (100 requests per minute)

Request Body

Required
  • application/jsonobject

    Create a new tenant settings entry for the tenant ID specified in the JWT. At least one of preferredStartPage or customizeNoAccess must be provided.

    Show application/json properties
    • customizeNoAccessobject
      Show customizeNoAccess properties
      • linkUrlstring
      • messagestring
      • linkLabelstring
      • linkEnabledboolean
        Required
    • preferredStartPagestring

      Can be one of: "analytics-hub""data-integration-hub""management-console"

Responses

201

The tenant settings have been successfully created.

  • application/jsonobject
    Show application/json properties
    • idstring
      Required
    • tenantIdstring
      Required
    • createdAtstring
      Required
    • createdBystring
      Required

      userId of the user who created the settings

    • updatedAtstring
      Required
    • updatedBystring

      userId of the user who last modified the settings

    • releaseCadencestring

      Set the release cadence

      Can be one of: "monthly""continuous"

    • customizeNoAccessobject
      Show customizeNoAccess properties
      • linkUrlstring
      • messagestring
      • linkLabelstring
      • linkEnabledboolean
        Required
    • preferredStartPageobject
      One of:
      • StartPageConfigHubobject
        Show StartPageConfigHub properties
        • routestring

          Can be one of: "/insights"

        • valuestring

          Can be one of: "analytics-hub"

      • StartPageConfigCreationHubobject
        Show StartPageConfigCreationHub properties
        • routestring

          Can be one of: "/analytics"

        • valuestring

          Can be one of: "analytics-creation-hub"

      • StartPageConfigQdiobject
        Show StartPageConfigQdi properties
        • routestring

          Can be one of: "/qdi"

        • valuestring

          Can be one of: "data-integration-hub"

      • StartPageConfigConsoleobject
        Show StartPageConfigConsole properties
        • routestring

          Can be one of: "/console"

        • valuestring

          Can be one of: "management-console"

    • crossRegionDataProcessingboolean

      Set to true to enable cross-region inference, false to disable.

400

Bad Request

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Show errors properties
      • codestring
      • titlestring
      • detailstring
      • statusinteger
    • traceIdstring

401

Unauthorized

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Show errors properties
      • codestring
      • titlestring
      • detailstring
      • statusinteger
    • traceIdstring

403

Forbidden

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Show errors properties
      • codestring
      • titlestring
      • detailstring
      • statusinteger
    • traceIdstring

500

Internal Server Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Show errors properties
      • codestring
      • titlestring
      • detailstring
      • statusinteger
    • traceIdstring

default

Error response.

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Show errors properties
      • codeinteger

        Error code.

      • titlestring

        Error cause.

POST /api/v1/tenant-settings
// qlik-api has not implemented support for `POST /api/v1/tenant-settings` yet.
// In the meantime, you can use fetch like this:
const response = await fetch(
'/api/v1/tenant-settings',
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
customizeNoAccess: {
linkUrl: 'string',
message: 'string',
linkLabel: 'string',
linkEnabled: true,
},
preferredStartPage: 'analytics-hub',
}),
},
)
This API is not included yet in qlik-cli
curl "https://{tenant}.{region}.qlikcloud.com/api/v1/tenant-settings" \
-X POST \
-H "Content-type: application/json" \
-H "Authorization: Bearer <access_token>" \
-d '{"customizeNoAccess":{"linkUrl":"string","message":"string","linkLabel":"string","linkEnabled":true},"preferredStartPage":"analytics-hub"}'

Example Response

{
"id": "TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69",
"tenantId": "TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69",
"createdAt": "2018-10-30T07:06:22Z",
"createdBy": "string",
"updatedAt": "2018-10-30T07:06:22Z",
"updatedBy": "string",
"releaseCadence": "monthly",
"customizeNoAccess": {
"linkUrl": "string",
"message": "string",
"linkLabel": "string",
"linkEnabled": true
},
"preferredStartPage": {
"route": "/insights",
"value": "analytics-hub"
},
"crossRegionDataProcessing": true
}

Update tenant settings

Updates existing tenant settings. This is access controlled by the permission admin.tenant-settings:update.

Facts

Rate limit Tier 2 (100 requests per minute)

Request Body

Required
  • application/jsonarray of objects
    One of:
    • JSONPatchRequestAddReplaceTestobject
      Show JSONPatchRequestAddReplaceTest properties
      • opstring
        Required

        The operation to perform.

        Can be one of: "add""replace""test"

      • pathstring
        Required

        A JSON Pointer path.

      • valueany
        Required

        The value to add, replace or test.

    • JSONPatchRequestRemoveobject
      Show JSONPatchRequestRemove properties
      • opstring
        Required

        The operation to perform.

        Can be one of: "remove"

      • pathstring
        Required

        A JSON Pointer path.

    • JSONPatchRequestMoveCopyobject
      Show JSONPatchRequestMoveCopy properties
      • opstring
        Required

        The operation to perform.

        Can be one of: "move""copy"

      • fromstring
        Required

        A JSON Pointer path.

      • pathstring
        Required

        A JSON Pointer path.

Responses

200

The tenant settings have been successfully updated.

  • application/jsonobject
    Show application/json properties
    • idstring
      Required
    • tenantIdstring
      Required
    • createdAtstring
      Required
    • createdBystring
      Required

      userId of the user who created the settings

    • updatedAtstring
      Required
    • updatedBystring

      userId of the user who last modified the settings

    • releaseCadencestring

      Set the release cadence

      Can be one of: "monthly""continuous"

    • customizeNoAccessobject
      Show customizeNoAccess properties
      • linkUrlstring
      • messagestring
      • linkLabelstring
      • linkEnabledboolean
        Required
    • preferredStartPageobject
      One of:
      • StartPageConfigHubobject
        Show StartPageConfigHub properties
        • routestring

          Can be one of: "/insights"

        • valuestring

          Can be one of: "analytics-hub"

      • StartPageConfigCreationHubobject
        Show StartPageConfigCreationHub properties
        • routestring

          Can be one of: "/analytics"

        • valuestring

          Can be one of: "analytics-creation-hub"

      • StartPageConfigQdiobject
        Show StartPageConfigQdi properties
        • routestring

          Can be one of: "/qdi"

        • valuestring

          Can be one of: "data-integration-hub"

      • StartPageConfigConsoleobject
        Show StartPageConfigConsole properties
        • routestring

          Can be one of: "/console"

        • valuestring

          Can be one of: "management-console"

    • crossRegionDataProcessingboolean

      Set to true to enable cross-region inference, false to disable.

404

Tenant settings for this tenant do not exist.

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Show errors properties
      • codeinteger

        Error code.

      • titlestring

        Error cause.

default

Error response.

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Show errors properties
      • codeinteger

        Error code.

      • titlestring

        Error cause.

PATCH /api/v1/tenant-settings
// qlik-api has not implemented support for `PATCH /api/v1/tenant-settings` yet.
// In the meantime, you can use fetch like this:
const response = await fetch(
'/api/v1/tenant-settings',
{
method: 'PATCH',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify([
{ op: 'add', path: 'string' },
]),
},
)
This API is not included yet in qlik-cli
curl "https://{tenant}.{region}.qlikcloud.com/api/v1/tenant-settings" \
-X PATCH \
-H "Content-type: application/json" \
-H "Authorization: Bearer <access_token>" \
-d '[{"op":"add","path":"string"}]'

Example Response

{
"id": "TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69",
"tenantId": "TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69",
"createdAt": "2018-10-30T07:06:22Z",
"createdBy": "string",
"updatedAt": "2018-10-30T07:06:22Z",
"updatedBy": "string",
"releaseCadence": "monthly",
"customizeNoAccess": {
"linkUrl": "string",
"message": "string",
"linkLabel": "string",
"linkEnabled": true
},
"preferredStartPage": {
"route": "/insights",
"value": "analytics-hub"
},
"crossRegionDataProcessing": true
}

Delete tenant settings

Deletes the tenant settings associated with the tenant ID specified in JWT. This is access controlled by the permission admin.tenant-settings:delete.

Facts

Rate limit Tier 2 (100 requests per minute)

Responses

204

The tenant settings have been successfully deleted.

404

Tenant settings for tenant ID do not exist.

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Show errors properties
      • codeinteger

        Error code.

      • titlestring

        Error cause.

default

Error response.

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Show errors properties
      • codeinteger

        Error code.

      • titlestring

        Error cause.

DELETE /api/v1/tenant-settings
// qlik-api has not implemented support for `DELETE /api/v1/tenant-settings` yet.
// In the meantime, you can use fetch like this:
const response = await fetch(
'/api/v1/tenant-settings',
{
method: 'DELETE',
headers: {
'Content-Type': 'application/json',
},
},
)
This API is not included yet in qlik-cli
curl "https://{tenant}.{region}.qlikcloud.com/api/v1/tenant-settings" \
-X DELETE \
-H "Authorization: Bearer <access_token>"

Toggle cross-region data processing

Sets the cross region inference setting for the tenant. Creates tenant settings if none exist, or updates existing settings. This is access controlled by the permission admin.tenant-settings:update. When cross-region processing is required, you must include an additional header x-qlik-consent-verified: true in your API requests to confirm that you have the authority to enable this feature and accept the associated terms.

Facts

Rate limit Tier 2 (100 requests per minute)

Request Body

Required
  • application/jsonobject

    Set to true to enable cross-region inference, false to disable. Defaults to false.

    Show application/json properties
    • valueboolean
      Required

      Set to true to enable cross-region inference, false to disable.

Responses

200

The cross region inference setting has been successfully updated.

  • application/jsonobject
    Show application/json properties
    • idstring
      Required
    • tenantIdstring
      Required
    • createdAtstring
      Required
    • createdBystring
      Required

      userId of the user who created the settings

    • updatedAtstring
      Required
    • updatedBystring

      userId of the user who last modified the settings

    • releaseCadencestring

      Set the release cadence

      Can be one of: "monthly""continuous"

    • customizeNoAccessobject
      Show customizeNoAccess properties
      • linkUrlstring
      • messagestring
      • linkLabelstring
      • linkEnabledboolean
        Required
    • preferredStartPageobject
      One of:
      • StartPageConfigHubobject
        Show StartPageConfigHub properties
        • routestring

          Can be one of: "/insights"

        • valuestring

          Can be one of: "analytics-hub"

      • StartPageConfigCreationHubobject
        Show StartPageConfigCreationHub properties
        • routestring

          Can be one of: "/analytics"

        • valuestring

          Can be one of: "analytics-creation-hub"

      • StartPageConfigQdiobject
        Show StartPageConfigQdi properties
        • routestring

          Can be one of: "/qdi"

        • valuestring

          Can be one of: "data-integration-hub"

      • StartPageConfigConsoleobject
        Show StartPageConfigConsole properties
        • routestring

          Can be one of: "/console"

        • valuestring

          Can be one of: "management-console"

    • crossRegionDataProcessingboolean

      Set to true to enable cross-region inference, false to disable.

400

Bad Request. The request is incorrect.

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Show errors properties
      • codeinteger

        Error code.

      • titlestring

        Error cause.

401

Unauthorized. The user is not authorized to access the service.

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Show errors properties
      • codeinteger

        Error code.

      • titlestring

        Error cause.

403

Forbidden. You don't have sufficient permissions to access this resource.

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Show errors properties
      • codeinteger

        Error code.

      • titlestring

        Error cause.

default

Error response.

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Show errors properties
      • codeinteger

        Error code.

      • titlestring

        Error cause.

POST /api/v1/tenant-settings/actions/toggle-cross-region-data-processing
// qlik-api has not implemented support for `POST /api/v1/tenant-settings/actions/toggle-cross-region-data-processing` yet.
// In the meantime, you can use fetch like this:
const response = await fetch(
'/api/v1/tenant-settings/actions/toggle-cross-region-data-processing',
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({ value: true }),
},
)
This API is not included yet in qlik-cli
curl "https://{tenant}.{region}.qlikcloud.com/api/v1/tenant-settings/actions/toggle-cross-region-data-processing" \
-X POST \
-H "Content-type: application/json" \
-H "Authorization: Bearer <access_token>" \
-d '{"value":true}'

Example Response

{
"id": "TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69",
"tenantId": "TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69",
"createdAt": "2018-10-30T07:06:22Z",
"createdBy": "string",
"updatedAt": "2018-10-30T07:06:22Z",
"updatedBy": "string",
"releaseCadence": "monthly",
"customizeNoAccess": {
"linkUrl": "string",
"message": "string",
"linkLabel": "string",
"linkEnabled": true
},
"preferredStartPage": {
"route": "/insights",
"value": "analytics-hub"
},
"crossRegionDataProcessing": true
}

Get start pages

Retrieves start pages for the tenant settings.

Facts

Rate limit Tier 1 (1000 requests per minute)

Responses

200

Tenant settings start pages retrieval was successful.

  • application/jsonobject
    Show application/json properties
    • valuesarray of objects
      Required
      Any of:
      • StartPageConfigHubobject
        Show StartPageConfigHub properties
        • routestring

          Can be one of: "/insights"

        • valuestring

          Can be one of: "analytics-hub"

      • StartPageConfigCreationHubobject
        Show StartPageConfigCreationHub properties
        • routestring

          Can be one of: "/analytics"

        • valuestring

          Can be one of: "analytics-creation-hub"

      • StartPageConfigQdiobject
        Show StartPageConfigQdi properties
        • routestring

          Can be one of: "/qdi"

        • valuestring

          Can be one of: "data-integration-hub"

    • defaultValuestring
      Required

      Can be one of: "analytics-hub"

default

Error response.

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Show errors properties
      • codeinteger

        Error code.

      • titlestring

        Error cause.

GET /api/v1/tenant-settings/start-pages
// qlik-api has not implemented support for `GET /api/v1/tenant-settings/start-pages` yet.
// In the meantime, you can use fetch like this:
const response = await fetch(
'/api/v1/tenant-settings/start-pages',
{
method: 'GET',
headers: {
'Content-Type': 'application/json',
},
},
)
This API is not included yet in qlik-cli
curl "https://{tenant}.{region}.qlikcloud.com/api/v1/tenant-settings/start-pages" \
-H "Authorization: Bearer <access_token>"

Example Response

{
"values": [
{
"route": "/insights",
"value": "analytics-hub"
}
],
"defaultValue": "analytics-hub"
}