Themes
Themes enable you to customize/style the Qlik Sense client experience.
Endpoints
Lists all imported themes in the tenant.
Facts
| Rate limit | Tier 1 (1000 requests per minute) | 
| Categories | extend | 
Responses
200
OK. Lists all themes.
-   application/jsonobject
application/json properties
-   dataarray of objectsRequired
The theme model.
data properties
-   idstring
 -   fileobject
The file that was uploaded with the theme.
 -   iconstring
Icon to show in the client.
 -   namestring
The display name of this theme.
 -   tagsarray of strings
List of tags.
 -   typestring
The type of this theme (visualization, etc.).
 -   authorstring
Author of the theme.
 -   userIdstring
 -   licensestring
Under which license this theme is published.
 -   versionstring
Version of the theme.
 -   homepagestring
Home page of the theme.
 -   keywordsstring
Keywords for the theme.
 -   supplierstring
Supplier of the theme.
 -   tenantIdstring
 -   updateAtstring
 -   createdAtstring
 -   repositorystring
Link to the theme source code.
 -   descriptionstring
Description of the theme.
 -   qextVersionstring
The version from the qext file that was uploaded with this extension.
 -   dependenciesobject
Map of dependencies describing version of the component it requires.
 -   qextFilenamestring
The name of the qext file that was uploaded with this theme.
 
 -   
 
 -   
 
import { createQlikApi } from '@qlik/api'
const qlik = createQlikApi({  hostConfig: {    host: 'https://your-tenant.us.qlikcloud.com',    apiKey: '<access-token>',  },})
await qlik.themes.getThemes()qlik theme lscurl "https://your-tenant.us.qlikcloud.com/api/v1/themes" \-H "Authorization: Bearer <access_token>"Example Response
{  "data": [    {      "id": "string",      "file": {},      "icon": "string",      "name": "string",      "tags": [        "string"      ],      "type": "string",      "author": "string",      "userId": "string",      "license": "string",      "version": "string",      "homepage": "string",      "keywords": "string",      "supplier": "string",      "tenantId": "string",      "updateAt": "string",      "createdAt": "string",      "repository": "string",      "description": "string",      "qextVersion": "string",      "dependencies": {},      "qextFilename": "string"    }  ]}Creates a new theme. Accepts either provided file or data object. The name of the new theme must be different to any existing themes.
Facts
| Rate limit | Tier 2 (100 requests per minute) | 
| Categories | extend | 
Request Body
Required-   multipart/form-dataobject
multipart/form-data properties
-   dataobject
The theme model.
data properties
-   fileobject
The file that was uploaded with the theme.
 -   iconstring
Icon to show in the client.
 -   namestring
The display name of this theme.
 -   tagsarray of strings
List of tags.
 -   typestring
The type of this theme (visualization, etc.).
 -   authorstring
Author of the theme.
 -   licensestring
Under which license this theme is published.
 -   versionstring
Version of the theme.
 -   homepagestring
Home page of the theme.
 -   keywordsstring
Keywords for the theme.
 -   supplierstring
Supplier of the theme.
 -   repositorystring
Link to the theme source code.
 -   descriptionstring
Description of the theme.
 -   qextVersionstring
The version from the qext file that was uploaded with this extension.
 -   dependenciesobject
Map of dependencies describing version of the component it requires.
 -   qextFilenamestring
The name of the qext file that was uploaded with this theme.
 
 -   
 -   filestring
Theme archive.
 
 -   
 
Responses
201
Created. Creates a new theme and returns it.
-   application/jsonobject
The theme model.
application/json properties
-   idstring
 -   fileobject
The file that was uploaded with the theme.
 -   iconstring
Icon to show in the client.
 -   namestring
The display name of this theme.
 -   tagsarray of strings
List of tags.
 -   typestring
The type of this theme (visualization, etc.).
 -   authorstring
Author of the theme.
 -   userIdstring
 -   licensestring
Under which license this theme is published.
 -   versionstring
Version of the theme.
 -   homepagestring
Home page of the theme.
 -   keywordsstring
Keywords for the theme.
 -   supplierstring
Supplier of the theme.
 -   tenantIdstring
 -   updateAtstring
 -   createdAtstring
 -   repositorystring
Link to the theme source code.
 -   descriptionstring
Description of the theme.
 -   qextVersionstring
The version from the qext file that was uploaded with this extension.
 -   dependenciesobject
Map of dependencies describing version of the component it requires.
 -   qextFilenamestring
The name of the qext file that was uploaded with this theme.
 
 -   
 
409
Conflict. Resource with same unique identity already exists.
-   application/jsonobject
An error object.
application/json properties
-   metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
-   stackstring
Full stack trace of the error that was raised.
 -   messagestring
A more detailed message explaining the error.
 -   resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
 
 -   
 -   titlestringRequired
Title of the HTTP status code.
 -   sourceobject
Optional JSON patch object pointing to an invalid property.
 -   statusnumber
The HTTP status code.
 
 -   
 
415
Unsupported media type. Body of the payload is not a valid JSON object.
-   application/jsonobject
An error object.
application/json properties
-   metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
-   stackstring
Full stack trace of the error that was raised.
 -   messagestring
A more detailed message explaining the error.
 -   resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
 
 -   
 -   titlestringRequired
Title of the HTTP status code.
 -   sourceobject
Optional JSON patch object pointing to an invalid property.
 -   statusnumber
The HTTP status code.
 
 -   
 
422
Unprocessable entity. Validation error.
-   application/jsonobject
An error object.
application/json properties
-   metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
-   stackstring
Full stack trace of the error that was raised.
 -   messagestring
A more detailed message explaining the error.
 -   resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
 
 -   
 -   titlestringRequired
Title of the HTTP status code.
 -   sourceobject
Optional JSON patch object pointing to an invalid property.
 -   statusnumber
The HTTP status code.
 
 -   
 
default
Unexpected error.
-   application/jsonobject
An error object.
application/json properties
-   metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
-   stackstring
Full stack trace of the error that was raised.
 -   messagestring
A more detailed message explaining the error.
 -   resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
 
 -   
 -   titlestringRequired
Title of the HTTP status code.
 -   sourceobject
Optional JSON patch object pointing to an invalid property.
 -   statusnumber
The HTTP status code.
 
 -   
 
import { createQlikApi } from '@qlik/api'import { readFileSync } from 'node:fs'
const qlik = createQlikApi({  hostConfig: {    host: 'https://your-tenant.us.qlikcloud.com',    apiKey: '<access-token>',  },})
await qlik.themes.uploadTheme({  data: {    author: 'string',    dependencies: {},    description: 'string',    file: {},    homepage: 'string',    icon: 'string',    keywords: 'string',    license: 'string',    name: 'string',    qextFilename: 'string',    qextVersion: 'string',    repository: 'string',    supplier: 'string',    tags: ['string'],    type: 'string',    version: 'string',  },  file: new Uint8Array(    readFileSync('<file-path>'),  ),})qlik theme create \--file="string"curl "https://your-tenant.us.qlikcloud.com/api/v1/themes" \-X POST \-H "Content-type: multipart/form-data" \-H "Authorization: Bearer <access_token>" \-F "data={\"id\":\"string\",\"file\":{},\"icon\":\"string\",\"name\":\"string\",\"tags\":[\"string\"],\"type\":\"string\",\"author\":\"string\",\"userId\":\"string\",\"license\":\"string\",\"version\":\"string\",\"homepage\":\"string\",\"keywords\":\"string\",\"supplier\":\"string\",\"tenantId\":\"string\",\"updateAt\":\"string\",\"createdAt\":\"string\",\"repository\":\"string\",\"description\":\"string\",\"qextVersion\":\"string\",\"dependencies\":{},\"qextFilename\":\"string\"}" \-F "file=@/path/to/file"Example Response
{  "id": "string",  "file": {},  "icon": "string",  "name": "string",  "tags": [    "string"  ],  "type": "string",  "author": "string",  "userId": "string",  "license": "string",  "version": "string",  "homepage": "string",  "keywords": "string",  "supplier": "string",  "tenantId": "string",  "updateAt": "string",  "createdAt": "string",  "repository": "string",  "description": "string",  "qextVersion": "string",  "dependencies": {},  "qextFilename": "string"}Returns a specific theme matching either theme ID or theme name.
Facts
| Rate limit | Tier 1 (1000 requests per minute) | 
| Categories | extend | 
Path Parameters
-   idstringRequired
Theme identifier or its qextFilename
 
Responses
200
OK. Returns theme with {id}.
-   application/jsonobject
The theme model.
application/json properties
-   idstring
 -   fileobject
The file that was uploaded with the theme.
 -   iconstring
Icon to show in the client.
 -   namestring
The display name of this theme.
 -   tagsarray of strings
List of tags.
 -   typestring
The type of this theme (visualization, etc.).
 -   authorstring
Author of the theme.
 -   userIdstring
 -   licensestring
Under which license this theme is published.
 -   versionstring
Version of the theme.
 -   homepagestring
Home page of the theme.
 -   keywordsstring
Keywords for the theme.
 -   supplierstring
Supplier of the theme.
 -   tenantIdstring
 -   updateAtstring
 -   createdAtstring
 -   repositorystring
Link to the theme source code.
 -   descriptionstring
Description of the theme.
 -   qextVersionstring
The version from the qext file that was uploaded with this extension.
 -   dependenciesobject
Map of dependencies describing version of the component it requires.
 -   qextFilenamestring
The name of the qext file that was uploaded with this theme.
 
 -   
 
403
Forbidden. User is not authorized to read theme with {id}.
-   application/jsonobject
An error object.
application/json properties
-   metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
-   stackstring
Full stack trace of the error that was raised.
 -   messagestring
A more detailed message explaining the error.
 -   resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
 
 -   
 -   titlestringRequired
Title of the HTTP status code.
 -   sourceobject
Optional JSON patch object pointing to an invalid property.
 -   statusnumber
The HTTP status code.
 
 -   
 
404
Not found. Could not find the theme with {id}.
-   application/jsonobject
An error object.
application/json properties
-   metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
-   stackstring
Full stack trace of the error that was raised.
 -   messagestring
A more detailed message explaining the error.
 -   resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
 
 -   
 -   titlestringRequired
Title of the HTTP status code.
 -   sourceobject
Optional JSON patch object pointing to an invalid property.
 -   statusnumber
The HTTP status code.
 
 -   
 
410
Gone. Theme with {id} has been deleted.
-   application/jsonobject
An error object.
application/json properties
-   metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
-   stackstring
Full stack trace of the error that was raised.
 -   messagestring
A more detailed message explaining the error.
 -   resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
 
 -   
 -   titlestringRequired
Title of the HTTP status code.
 -   sourceobject
Optional JSON patch object pointing to an invalid property.
 -   statusnumber
The HTTP status code.
 
 -   
 
import { createQlikApi } from '@qlik/api'
const qlik = createQlikApi({  hostConfig: {    host: 'https://your-tenant.us.qlikcloud.com',    apiKey: '<access-token>',  },})
await qlik.themes.getTheme('string')qlik theme get <themeId>curl "https://your-tenant.us.qlikcloud.com/api/v1/themes/{id}" \-H "Authorization: Bearer <access_token>"Example Response
{  "id": "string",  "file": {},  "icon": "string",  "name": "string",  "tags": [    "string"  ],  "type": "string",  "author": "string",  "userId": "string",  "license": "string",  "version": "string",  "homepage": "string",  "keywords": "string",  "supplier": "string",  "tenantId": "string",  "updateAt": "string",  "createdAt": "string",  "repository": "string",  "description": "string",  "qextVersion": "string",  "dependencies": {},  "qextFilename": "string"}Updates a specific theme matching either theme ID or theme name. Accepts either provided file or data object.
Facts
| Rate limit | Tier 2 (100 requests per minute) | 
| Categories | extend | 
Path Parameters
-   idstringRequired
Theme identifier or its qextFilename.
 
Request Body
Required-   multipart/form-dataobject
multipart/form-data properties
-   dataobject
The theme model.
data properties
-   fileobject
The file that was uploaded with the theme.
 -   iconstring
Icon to show in the client.
 -   namestring
The display name of this theme.
 -   tagsarray of strings
List of tags.
 -   typestring
The type of this theme (visualization, etc.).
 -   authorstring
Author of the theme.
 -   licensestring
Under which license this theme is published.
 -   versionstring
Version of the theme.
 -   homepagestring
Home page of the theme.
 -   keywordsstring
Keywords for the theme.
 -   supplierstring
Supplier of the theme.
 -   repositorystring
Link to the theme source code.
 -   descriptionstring
Description of the theme.
 -   qextVersionstring
The version from the qext file that was uploaded with this extension.
 -   dependenciesobject
Map of dependencies describing version of the component it requires.
 -   qextFilenamestring
The name of the qext file that was uploaded with this theme.
 
 -   
 -   filestring
Theme archive.
 
 -   
 
Responses
200
OK. Theme has been updated.
-   application/jsonobject
application/json properties
-   dataarray of objectsRequired
The theme model.
data properties
-   idstring
 -   fileobject
The file that was uploaded with the theme.
 -   iconstring
Icon to show in the client.
 -   namestring
The display name of this theme.
 -   tagsarray of strings
List of tags.
 -   typestring
The type of this theme (visualization, etc.).
 -   authorstring
Author of the theme.
 -   userIdstring
 -   licensestring
Under which license this theme is published.
 -   versionstring
Version of the theme.
 -   homepagestring
Home page of the theme.
 -   keywordsstring
Keywords for the theme.
 -   supplierstring
Supplier of the theme.
 -   tenantIdstring
 -   updateAtstring
 -   createdAtstring
 -   repositorystring
Link to the theme source code.
 -   descriptionstring
Description of the theme.
 -   qextVersionstring
The version from the qext file that was uploaded with this extension.
 -   dependenciesobject
Map of dependencies describing version of the component it requires.
 -   qextFilenamestring
The name of the qext file that was uploaded with this theme.
 
 -   
 
 -   
 
403
Forbidden. User is not authorized to update theme with {id}.
-   application/jsonobject
An error object.
application/json properties
-   metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
-   stackstring
Full stack trace of the error that was raised.
 -   messagestring
A more detailed message explaining the error.
 -   resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
 
 -   
 -   titlestringRequired
Title of the HTTP status code.
 -   sourceobject
Optional JSON patch object pointing to an invalid property.
 -   statusnumber
The HTTP status code.
 
 -   
 
404
Not found. Could not find the theme with {id}.
-   application/jsonobject
An error object.
application/json properties
-   metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
-   stackstring
Full stack trace of the error that was raised.
 -   messagestring
A more detailed message explaining the error.
 -   resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
 
 -   
 -   titlestringRequired
Title of the HTTP status code.
 -   sourceobject
Optional JSON patch object pointing to an invalid property.
 -   statusnumber
The HTTP status code.
 
 -   
 
409
Conflict. Resource with same unique identity already exists.
-   application/jsonobject
An error object.
application/json properties
-   metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
-   stackstring
Full stack trace of the error that was raised.
 -   messagestring
A more detailed message explaining the error.
 -   resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
 
 -   
 -   titlestringRequired
Title of the HTTP status code.
 -   sourceobject
Optional JSON patch object pointing to an invalid property.
 -   statusnumber
The HTTP status code.
 
 -   
 
415
Unsupported media type. Body of the payload is not a valid JSON object.
-   application/jsonobject
An error object.
application/json properties
-   metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
-   stackstring
Full stack trace of the error that was raised.
 -   messagestring
A more detailed message explaining the error.
 -   resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
 
 -   
 -   titlestringRequired
Title of the HTTP status code.
 -   sourceobject
Optional JSON patch object pointing to an invalid property.
 -   statusnumber
The HTTP status code.
 
 -   
 
422
Unprocessable entity. Validation error.
-   application/jsonobject
An error object.
application/json properties
-   metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
-   stackstring
Full stack trace of the error that was raised.
 -   messagestring
A more detailed message explaining the error.
 -   resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
 
 -   
 -   titlestringRequired
Title of the HTTP status code.
 -   sourceobject
Optional JSON patch object pointing to an invalid property.
 -   statusnumber
The HTTP status code.
 
 -   
 
default
Unexpected error.
-   application/jsonobject
An error object.
application/json properties
-   metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
-   stackstring
Full stack trace of the error that was raised.
 -   messagestring
A more detailed message explaining the error.
 -   resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
 
 -   
 -   titlestringRequired
Title of the HTTP status code.
 -   sourceobject
Optional JSON patch object pointing to an invalid property.
 -   statusnumber
The HTTP status code.
 
 -   
 
import { createQlikApi } from '@qlik/api'import { readFileSync } from 'node:fs'
const qlik = createQlikApi({  hostConfig: {    host: 'https://your-tenant.us.qlikcloud.com',    apiKey: '<access-token>',  },})
await qlik.themes.patchTheme('string', {  data: {    author: 'string',    dependencies: {},    description: 'string',    file: {},    homepage: 'string',    icon: 'string',    keywords: 'string',    license: 'string',    name: 'string',    qextFilename: 'string',    qextVersion: 'string',    repository: 'string',    supplier: 'string',    tags: ['string'],    type: 'string',    version: 'string',  },  file: new Uint8Array(    readFileSync('<file-path>'),  ),})qlik theme patch <themeId> \--file="string"curl "https://your-tenant.us.qlikcloud.com/api/v1/themes/{id}" \-X PATCH \-H "Content-type: multipart/form-data" \-H "Authorization: Bearer <access_token>" \-F "data={\"id\":\"string\",\"file\":{},\"icon\":\"string\",\"name\":\"string\",\"tags\":[\"string\"],\"type\":\"string\",\"author\":\"string\",\"userId\":\"string\",\"license\":\"string\",\"version\":\"string\",\"homepage\":\"string\",\"keywords\":\"string\",\"supplier\":\"string\",\"tenantId\":\"string\",\"updateAt\":\"string\",\"createdAt\":\"string\",\"repository\":\"string\",\"description\":\"string\",\"qextVersion\":\"string\",\"dependencies\":{},\"qextFilename\":\"string\"}" \-F "file=@/path/to/file"Example Response
{  "data": [    {      "id": "string",      "file": {},      "icon": "string",      "name": "string",      "tags": [        "string"      ],      "type": "string",      "author": "string",      "userId": "string",      "license": "string",      "version": "string",      "homepage": "string",      "keywords": "string",      "supplier": "string",      "tenantId": "string",      "updateAt": "string",      "createdAt": "string",      "repository": "string",      "description": "string",      "qextVersion": "string",      "dependencies": {},      "qextFilename": "string"    }  ]}Deletes a specific theme matching either theme ID or theme name.
Facts
| Rate limit | Tier 2 (100 requests per minute) | 
| Categories | extend | 
Path Parameters
-   idstringRequired
Theme identifier or its qextFilename.
 
Responses
204
No content. Soft deletes the theme.
403
Forbidden. User is not authorized to delete themes with {id}.
-   application/jsonobject
An error object.
application/json properties
-   metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
-   stackstring
Full stack trace of the error that was raised.
 -   messagestring
A more detailed message explaining the error.
 -   resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
 
 -   
 -   titlestringRequired
Title of the HTTP status code.
 -   sourceobject
Optional JSON patch object pointing to an invalid property.
 -   statusnumber
The HTTP status code.
 
 -   
 
404
Not found. Could not find the theme with {id}.
-   application/jsonobject
An error object.
application/json properties
-   metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
-   stackstring
Full stack trace of the error that was raised.
 -   messagestring
A more detailed message explaining the error.
 -   resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
 
 -   
 -   titlestringRequired
Title of the HTTP status code.
 -   sourceobject
Optional JSON patch object pointing to an invalid property.
 -   statusnumber
The HTTP status code.
 
 -   
 
410
Gone. Theme with {id} has been deleted.
-   application/jsonobject
An error object.
application/json properties
-   metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
-   stackstring
Full stack trace of the error that was raised.
 -   messagestring
A more detailed message explaining the error.
 -   resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
 
 -   
 -   titlestringRequired
Title of the HTTP status code.
 -   sourceobject
Optional JSON patch object pointing to an invalid property.
 -   statusnumber
The HTTP status code.
 
 -   
 
import { createQlikApi } from '@qlik/api'
const qlik = createQlikApi({  hostConfig: {    host: 'https://your-tenant.us.qlikcloud.com',    apiKey: '<access-token>',  },})
await qlik.themes.deleteTheme('string')qlik theme rm <themeId>curl "https://your-tenant.us.qlikcloud.com/api/v1/themes/{id}" \-X DELETE \-H "Authorization: Bearer <access_token>"Downloads all files in the theme matching either theme ID or theme name as a .zip archive.
Facts
| Rate limit | Tier 1 (1000 requests per minute) | 
| Categories | extend | 
Path Parameters
-   idstringRequired
Theme identifier or its qextFilename
 
Responses
200
OK. Theme exists. Returns the theme archive.
403
Forbidden. User is not authorized to read theme with {id}.
-   application/jsonobject
An error object.
application/json properties
-   metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
-   stackstring
Full stack trace of the error that was raised.
 -   messagestring
A more detailed message explaining the error.
 -   resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
 
 -   
 -   titlestringRequired
Title of the HTTP status code.
 -   sourceobject
Optional JSON patch object pointing to an invalid property.
 -   statusnumber
The HTTP status code.
 
 -   
 
404
Not found. Could not find the theme with {id}.
-   application/jsonobject
An error object.
application/json properties
-   metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
-   stackstring
Full stack trace of the error that was raised.
 -   messagestring
A more detailed message explaining the error.
 -   resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
 
 -   
 -   titlestringRequired
Title of the HTTP status code.
 -   sourceobject
Optional JSON patch object pointing to an invalid property.
 -   statusnumber
The HTTP status code.
 
 -   
 
410
Gone. Theme with {id} has been deleted.
-   application/jsonobject
An error object.
application/json properties
-   metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
-   stackstring
Full stack trace of the error that was raised.
 -   messagestring
A more detailed message explaining the error.
 -   resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
 
 -   
 -   titlestringRequired
Title of the HTTP status code.
 -   sourceobject
Optional JSON patch object pointing to an invalid property.
 -   statusnumber
The HTTP status code.
 
 -   
 
import { createQlikApi } from '@qlik/api'
const qlik = createQlikApi({  hostConfig: {    host: 'https://your-tenant.us.qlikcloud.com',    apiKey: '<access-token>',  },})
await qlik.themes.downloadTheme('string')qlik theme file lscurl "https://your-tenant.us.qlikcloud.com/api/v1/themes/{id}/file" \-H "Authorization: Bearer <access_token>"Downloads a file from the theme matching either theme ID or theme name, identified by the file path within the imported extension.
Facts
| Rate limit | Tier 1 (1000 requests per minute) | 
| Categories | extend | 
Path Parameters
-   filepathstringRequired
Path to the file location within the specified theme archive. Folders separated with forward slashes.
 -   idstringRequired
Theme identifier or its qextFilename.
 
Responses
200
OK. Theme exists and the file specified exists. Returns the specific file.
403
Forbidden. User is not authorized to read theme with {id}.
-   application/jsonobject
An error object.
application/json properties
-   metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
-   stackstring
Full stack trace of the error that was raised.
 -   messagestring
A more detailed message explaining the error.
 -   resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
 
 -   
 -   titlestringRequired
Title of the HTTP status code.
 -   sourceobject
Optional JSON patch object pointing to an invalid property.
 -   statusnumber
The HTTP status code.
 
 -   
 
404
Not found. Could not find a theme with {id} or the file does not exist in the archive.
-   application/jsonobject
An error object.
application/json properties
-   metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
-   stackstring
Full stack trace of the error that was raised.
 -   messagestring
A more detailed message explaining the error.
 -   resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
 
 -   
 -   titlestringRequired
Title of the HTTP status code.
 -   sourceobject
Optional JSON patch object pointing to an invalid property.
 -   statusnumber
The HTTP status code.
 
 -   
 
410
Gone. Theme with {id} has been deleted.
-   application/jsonobject
An error object.
application/json properties
-   metaobject
Object containing meta data regarding an error. It does not necessarily contain all the properties.
meta properties
-   stackstring
Full stack trace of the error that was raised.
 -   messagestring
A more detailed message explaining the error.
 -   resourceNamestring
Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created.
 
 -   
 -   titlestringRequired
Title of the HTTP status code.
 -   sourceobject
Optional JSON patch object pointing to an invalid property.
 -   statusnumber
The HTTP status code.
 
 -   
 
import { createQlikApi } from '@qlik/api'
const qlik = createQlikApi({  hostConfig: {    host: 'https://your-tenant.us.qlikcloud.com',    apiKey: '<access-token>',  },})
await qlik.themes.downloadFileFromTheme(  'string',  'css/styles.css',)qlik theme file get <filepath>curl "https://your-tenant.us.qlikcloud.com/api/v1/themes/{id}/file/{filepath}" \-H "Authorization: Bearer <access_token>"