Endpoints
Returns a list of users using cursor-based pagination.
Facts
| Rate limit | Tier 1 (1000 requests per minute) | 
| Categories | manage | 
Query Parameters
-   fieldsstringA comma-delimited string of the requested fields per entity. If the 'links' value is omitted, then the entity HATEOAS link will also be omitted. 
-   filterstringThe advanced filtering to use for the query. Refer to RFC 7644 for the syntax. Cannot be combined with any of the fields marked as deprecated. All conditional statements within this query parameter are case insensitive. The following fields support the eqoperator:id,subject,name,email,status,clientId,assignedRoles.idassignedRoles.name,assignedGroups.id,assignedGroupsAssignedRoles.nameAdditionally, the following fields support the cooperator:name,email,subjectQueries may be rate limited if they differ greatly from these examples: (id eq "62716ab404a7bd8626af9bd6" or id eq "62716ac4c7e500e13ff5fa22") and (status eq "active" or status eq "disabled")name co "query" or email co "query" or subject co "query" or id eq "query" or assignedRoles.name eq "query"Any filters for status must be grouped together and applied to the whole query. Valid: (name eq "Bob" or name eq "Alice") and (status eq "active" or status eq "disabled")Invalid: name eq "Bob" or name eq "Alice" and (status eq "active" or status eq "disabled")
-   limitnumberThe number of user entries to retrieve. 
-   nextstringGet users that come after this cursor value when sorted. Cannot be used in conjunction with prev.
-   prevstringGet users that come before this cursor value when sorted. Cannot be used in conjunction with next.
-   sortstringThe field to sort by, with +/- prefix indicating sort order Can be one of: "name""+name""-name""_id""+_id""-_id""id""+id""-id""tenantId""+tenantId""-tenantId""clientId""+clientId""-clientId""status""+status""-status""subject""+subject""-subject""email""+email""-email""inviteExpiry""+inviteExpiry""-inviteExpiry""createdAt""+createdAt""-createdAt" 
-   totalResultsbooleanWhether to return a total match count in the result. Defaults to false. It will trigger an extra DB query to count, reducing the efficiency of the endpoint. 
-   emailstringDeprecatedThe email to filter by. Deprecated. Use the new filterparameter to provide an advanced query filter.
-   endingBeforestringDeprecatedGet users with IDs that are lower than the target user ID. Cannot be used in conjunction with startingAfter. Deprecated. Use previnstead.
-   rolestringDeprecatedThe role to filter by. Deprecated. 
-   sortBystringDeprecatedThe user parameter to sort by. Deprecated. Use sortinstead.Can be one of: "name" 
-   sortOrderstringDeprecatedThe sort order, either ascending or descending. Deprecated. Use sortinstead.Can be one of: "asc""desc" 
-   startingAfterstringDeprecatedGet users with IDs that are higher than the target user ID. Cannot be used in conjunction with endingBefore. Deprecated. Use nextinstead.
-   statusstringDeprecatedThe status to filter by. Supports multiple values delimited by commas. Deprecated. Use the new filterparameter to provide an advanced query filter.Can be one of: "active""invited""disabled""deleted""provisioned" 
-   subjectstringDeprecatedThe subject to filter by. Deprecated. Use the new filterparameter to provide an advanced query filter.
-   tenantIdstringDeprecatedThe tenant ID to filter by. Deprecated. 
Responses
200
Successful query, returns an array of users
-   application/jsonobjectapplication/json properties-   dataarray of objectsList of users. data properties-   idstringRequiredFilterableThe unique user identifier. 
-   namestringRequiredFilterableThe name of the user. 
-   emailstringThe email address for the user. 
-   linksobjectPagination links to the user. links properties-   selfobjectRequiredA link to this user. self properties-   hrefstringRequiredURL that defines the resource. 
 
-   
 
-   
-   rolesarray of stringsDeprecatedList of system roles to which the user has been assigned. Only returned when permitted by access control. Deprecated. Use assignedRolesinstead.Values may be any of: "TenantAdmin""Developer""AnalyticsAdmin""DataAdmin""DataSpaceCreator""ManagedSpaceCreator""SharedSpaceCreator" 
-   localestringRepresents the end-user's language tag. 
-   statusstringThe status of the user within the tenant. Can be one of: "active""invited""disabled""deleted""provisioned" 
-   createdstringDeprecatedDeprecated. Use createdAtinstead.
-   picturestringA static url linking to the avatar of the user. 
-   subjectstringRequiredFilterableThe unique user identitier from an identity provider. 
-   tenantIdstringRequiredThe tenant that the user belongs too. 
-   zoneinfostringRepresents the end-user's time zone. 
-   createdAtstringThe timestamp for when the user record was created. 
-   lastUpdatedstringDeprecatedDeprecated. Use lastUpdatedAtinstead.
-   inviteExpirynumberThe Unix timestamp indicating when the invite will expire. 
-   assignedRolesarray of objectsAn array of role references. Visibility dependant on access level. Must have access to roles to view other users' assigned roles. assignedRoles properties-   idstringRequiredThe unique role identitier 
-   namestringRequiredFilterableThe role name 
-   typestringRequiredThe type of role Can be one of: "default""custom" 
-   levelstringRequiredThe role level Can be one of: "admin""user" 
 
-   
-   lastUpdatedAtstringThe timestamp for when the user record was last updated. 
-   assignedGroupsarray of objectsAn array of group references. assignedGroups properties-   idstringRequiredThe unique group identitier 
-   namestringRequiredThe group name 
-   providerTypestringThe provider type of the group Can be one of: "idp""custom" 
-   assignedRolesarray of objectsAn array of role references. Visibility dependant on access level. Must have access to roles to view other users' assigned roles. assignedRoles properties-   idstringRequiredThe unique role identitier 
-   namestringRequiredFilterableThe role name 
-   typestringRequiredThe type of role Can be one of: "default""custom" 
-   levelstringRequiredThe role level Can be one of: "admin""user" 
 
-   
 
-   
-   assignedScopesarray of stringsAn array of scopes assigned to a user 
-   preferredLocalestringRepresents the end-user's preferred language tag. 
-   preferredZoneinfostringRepresents the end-user's preferred time zone. 
 
-   
-   linksobjectPagination links links properties-   nextobjectLink information for next page next properties-   hrefstringRequiredURL to the next page of records 
 
-   
-   prevobjectLink information for previous page prev properties-   hrefstringRequiredURL to the previous page of records 
 
-   
-   selfobjectRequiredLink information for current page self properties-   hrefstringRequiredURL to the current page of records 
 
-   
 
-   
-   totalResultsintegerIndicates the total number of matching documents. Will only be returned if the query parameter "totalResults" is true. 
 
-   
400
Invalid request parameters for querying users.
-   application/jsonobjectThe error response object describing the error from the handling of an HTTP request. application/json properties-   errorsarray of objectsAn array of errors related to the operation. errors properties-   codestringRequiredThe error code. 
-   metaobjectAdditional properties relating to the error. 
-   titlestringRequiredSummary of the problem. 
-   detailstringA human-readable explanation specific to this occurrence of the problem. 
-   sourceobjectReferences to the source of the error. source properties-   pointerstringA JSON Pointer to the property that caused the error. 
-   parameterstringThe URI query parameter that caused the error. 
 
-   
-   statusnumberThe HTTP status code. 
 
-   
-   traceIdstringA unique identifier for tracing the error. 
 
-   
401
Not authorized.
-   application/jsonobjectThe error response object describing the error from the handling of an HTTP request. application/json properties-   errorsarray of objectsAn array of errors related to the operation. errors properties-   codestringRequiredThe error code. 
-   metaobjectAdditional properties relating to the error. 
-   titlestringRequiredSummary of the problem. 
-   detailstringA human-readable explanation specific to this occurrence of the problem. 
-   sourceobjectReferences to the source of the error. source properties-   pointerstringA JSON Pointer to the property that caused the error. 
-   parameterstringThe URI query parameter that caused the error. 
 
-   
-   statusnumberThe HTTP status code. 
 
-   
-   traceIdstringA unique identifier for tracing the error. 
 
-   
429
Request has been rate limited.
-   application/jsonobjectThe error response object describing the error from the handling of an HTTP request. application/json properties-   errorsarray of objectsAn array of errors related to the operation. errors properties-   codestringRequiredThe error code. 
-   metaobjectAdditional properties relating to the error. 
-   titlestringRequiredSummary of the problem. 
-   detailstringA human-readable explanation specific to this occurrence of the problem. 
-   sourceobjectReferences to the source of the error. source properties-   pointerstringA JSON Pointer to the property that caused the error. 
-   parameterstringThe URI query parameter that caused the error. 
 
-   
-   statusnumberThe HTTP status code. 
 
-   
-   traceIdstringA unique identifier for tracing the error. 
 
-   
500
Internal server error.
-   application/jsonobjectThe error response object describing the error from the handling of an HTTP request. application/json properties-   errorsarray of objectsAn array of errors related to the operation. errors properties-   codestringRequiredThe error code. 
-   metaobjectAdditional properties relating to the error. 
-   titlestringRequiredSummary of the problem. 
-   detailstringA human-readable explanation specific to this occurrence of the problem. 
-   sourceobjectReferences to the source of the error. source properties-   pointerstringA JSON Pointer to the property that caused the error. 
-   parameterstringThe URI query parameter that caused the error. 
 
-   
-   statusnumberThe HTTP status code. 
 
-   
-   traceIdstringA unique identifier for tracing the error. 
 
-   
import { createQlikApi } from '@qlik/api'
const qlik = createQlikApi({  hostConfig: {    host: 'https://your-tenant.us.qlikcloud.com',    apiKey: '<access-token>',  },})
await qlik.users.getUsers({})qlik user lscurl "https://your-tenant.us.qlikcloud.com/api/v1/users" \-H "Authorization: Bearer <access_token>"Example Response
{  "data": [    {      "id": "TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69",      "name": "string",      "email": "string",      "links": {        "self": {          "href": "http://mytenant.elastic.example/api/v1/users/DKNmFJCNo8SGURUdh2ll--------USER"        }      },      "roles": [        "TenantAdmin"      ],      "locale": "string",      "status": "active",      "created": "string",      "picture": "http://example.com",      "subject": "string",      "tenantId": "TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69",      "zoneinfo": "string",      "createdAt": "2018-10-30T07:06:22Z",      "lastUpdated": "string",      "inviteExpiry": 42,      "assignedRoles": [        {          "id": "507f191e810c19729de860ea",          "name": "Developer",          "type": "default",          "level": "user"        }      ],      "lastUpdatedAt": "2018-10-30T07:06:22Z",      "assignedGroups": [        {          "id": "507f191e810c19729de860eb",          "name": "Finance",          "providerType": "idp",          "assignedRoles": [            {              "id": "507f191e810c19729de860ea",              "name": "Developer",              "type": "default",              "level": "user"            }          ]        }      ],      "assignedScopes": [        "string"      ],      "preferredLocale": "string",      "preferredZoneinfo": "string"    }  ],  "links": {    "next": {      "href": "string"    },    "prev": {      "href": "string"    },    "self": {      "href": "string"    }  },  "totalResults": 42}Creates an invited user.
Facts
| Rate limit | Tier 2 (100 requests per minute) | 
| Categories | manage | 
Request Body
Required-   application/jsonobjectapplication/json properties-   namestringThe name of the user. 
-   emailstringThe email address for the user. This is a required field when inviting a user. 
-   rolesarray of stringsDeprecatedList of system roles to which the user has been assigned. Only returned when permitted by access control. Values may be any of: "TenantAdmin""Developer""AnalyticsAdmin""DataAdmin""DataSpaceCreator""ManagedSpaceCreator""SharedSpaceCreator" 
-   statusstringThe status of the created user within the tenant. Can be one of: "invited" 
-   picturestringA static url linking to the avatar of the user. 
-   subjectstringRequiredThe unique user identitier from an identity provider. 
-   tenantIdstringThe tenant that the user will belong too. 
-   assignedRolesarrayThe roles to assign to the user. One of:-   RefIDsarray of objectsAn array of entity reference identifiers (e.g. roles, groups). RefIDs properties-   idstringRequiredThe unique identitier 
 
-   
-   RefNamesarray of objectsAn array of reference names (e.g. roles). RefNames properties-   namestringRequiredThe name of the entity 
 
-   
 
-   
 
-   
Responses
201
User created successfully.
-   application/jsonobjectA user object. application/json properties-   idstringRequiredFilterableThe unique user identifier. 
-   namestringRequiredFilterableThe name of the user. 
-   emailstringThe email address for the user. 
-   linksobjectPagination links to the user. links properties-   selfobjectRequiredA link to this user. self properties-   hrefstringRequiredURL that defines the resource. 
 
-   
 
-   
-   rolesarray of stringsDeprecatedList of system roles to which the user has been assigned. Only returned when permitted by access control. Deprecated. Use assignedRolesinstead.Values may be any of: "TenantAdmin""Developer""AnalyticsAdmin""DataAdmin""DataSpaceCreator""ManagedSpaceCreator""SharedSpaceCreator" 
-   localestringRepresents the end-user's language tag. 
-   statusstringThe status of the user within the tenant. Can be one of: "active""invited""disabled""deleted""provisioned" 
-   createdstringDeprecatedDeprecated. Use createdAtinstead.
-   picturestringA static url linking to the avatar of the user. 
-   subjectstringRequiredFilterableThe unique user identitier from an identity provider. 
-   tenantIdstringRequiredThe tenant that the user belongs too. 
-   zoneinfostringRepresents the end-user's time zone. 
-   createdAtstringThe timestamp for when the user record was created. 
-   lastUpdatedstringDeprecatedDeprecated. Use lastUpdatedAtinstead.
-   inviteExpirynumberThe Unix timestamp indicating when the invite will expire. 
-   assignedRolesarray of objectsAn array of role references. Visibility dependant on access level. Must have access to roles to view other users' assigned roles. assignedRoles properties-   idstringRequiredThe unique role identitier 
-   namestringRequiredFilterableThe role name 
-   typestringRequiredThe type of role Can be one of: "default""custom" 
-   levelstringRequiredThe role level Can be one of: "admin""user" 
 
-   
-   lastUpdatedAtstringThe timestamp for when the user record was last updated. 
-   assignedGroupsarray of objectsAn array of group references. assignedGroups properties-   idstringRequiredThe unique group identitier 
-   namestringRequiredThe group name 
-   providerTypestringThe provider type of the group Can be one of: "idp""custom" 
-   assignedRolesarray of objectsAn array of role references. Visibility dependant on access level. Must have access to roles to view other users' assigned roles. assignedRoles properties-   idstringRequiredThe unique role identitier 
-   namestringRequiredFilterableThe role name 
-   typestringRequiredThe type of role Can be one of: "default""custom" 
-   levelstringRequiredThe role level Can be one of: "admin""user" 
 
-   
 
-   
-   assignedScopesarray of stringsAn array of scopes assigned to a user 
-   preferredLocalestringRepresents the end-user's preferred language tag. 
-   preferredZoneinfostringRepresents the end-user's preferred time zone. 
 
-   
400
Invalid request was made.
-   application/jsonobjectThe error response object describing the error from the handling of an HTTP request. application/json properties-   errorsarray of objectsAn array of errors related to the operation. errors properties-   codestringRequiredThe error code. 
-   metaobjectAdditional properties relating to the error. 
-   titlestringRequiredSummary of the problem. 
-   detailstringA human-readable explanation specific to this occurrence of the problem. 
-   sourceobjectReferences to the source of the error. source properties-   pointerstringA JSON Pointer to the property that caused the error. 
-   parameterstringThe URI query parameter that caused the error. 
 
-   
-   statusnumberThe HTTP status code. 
 
-   
-   traceIdstringA unique identifier for tracing the error. 
 
-   
401
Unauthorized to create a user.
-   application/jsonobjectThe error response object describing the error from the handling of an HTTP request. application/json properties-   errorsarray of objectsAn array of errors related to the operation. errors properties-   codestringRequiredThe error code. 
-   metaobjectAdditional properties relating to the error. 
-   titlestringRequiredSummary of the problem. 
-   detailstringA human-readable explanation specific to this occurrence of the problem. 
-   sourceobjectReferences to the source of the error. source properties-   pointerstringA JSON Pointer to the property that caused the error. 
-   parameterstringThe URI query parameter that caused the error. 
 
-   
-   statusnumberThe HTTP status code. 
 
-   
-   traceIdstringA unique identifier for tracing the error. 
 
-   
403
Forbidden from creating a user.
-   application/jsonobjectThe error response object describing the error from the handling of an HTTP request. application/json properties-   errorsarray of objectsAn array of errors related to the operation. errors properties-   codestringRequiredThe error code. 
-   metaobjectAdditional properties relating to the error. 
-   titlestringRequiredSummary of the problem. 
-   detailstringA human-readable explanation specific to this occurrence of the problem. 
-   sourceobjectReferences to the source of the error. source properties-   pointerstringA JSON Pointer to the property that caused the error. 
-   parameterstringThe URI query parameter that caused the error. 
 
-   
-   statusnumberThe HTTP status code. 
 
-   
-   traceIdstringA unique identifier for tracing the error. 
 
-   
409
User conflict when attempting to create a new user.
-   application/jsonobjectThe error response object describing the error from the handling of an HTTP request. application/json properties-   errorsarray of objectsAn array of errors related to the operation. errors properties-   codestringRequiredThe error code. 
-   metaobjectAdditional properties relating to the error. 
-   titlestringRequiredSummary of the problem. 
-   detailstringA human-readable explanation specific to this occurrence of the problem. 
-   sourceobjectReferences to the source of the error. source properties-   pointerstringA JSON Pointer to the property that caused the error. 
-   parameterstringThe URI query parameter that caused the error. 
 
-   
-   statusnumberThe HTTP status code. 
 
-   
-   traceIdstringA unique identifier for tracing the error. 
 
-   
413
Payload was too large (limit of 500kB)
-   application/jsonobjectThe error response object describing the error from the handling of an HTTP request. application/json properties-   errorsarray of objectsAn array of errors related to the operation. errors properties-   codestringRequiredThe error code. 
-   metaobjectAdditional properties relating to the error. 
-   titlestringRequiredSummary of the problem. 
-   detailstringA human-readable explanation specific to this occurrence of the problem. 
-   sourceobjectReferences to the source of the error. source properties-   pointerstringA JSON Pointer to the property that caused the error. 
-   parameterstringThe URI query parameter that caused the error. 
 
-   
-   statusnumberThe HTTP status code. 
 
-   
-   traceIdstringA unique identifier for tracing the error. 
 
-   
429
Request has been rate limited.
-   application/jsonobjectThe error response object describing the error from the handling of an HTTP request. application/json properties-   errorsarray of objectsAn array of errors related to the operation. errors properties-   codestringRequiredThe error code. 
-   metaobjectAdditional properties relating to the error. 
-   titlestringRequiredSummary of the problem. 
-   detailstringA human-readable explanation specific to this occurrence of the problem. 
-   sourceobjectReferences to the source of the error. source properties-   pointerstringA JSON Pointer to the property that caused the error. 
-   parameterstringThe URI query parameter that caused the error. 
 
-   
-   statusnumberThe HTTP status code. 
 
-   
-   traceIdstringA unique identifier for tracing the error. 
 
-   
500
Internal server error.
-   application/jsonobjectThe error response object describing the error from the handling of an HTTP request. application/json properties-   errorsarray of objectsAn array of errors related to the operation. errors properties-   codestringRequiredThe error code. 
-   metaobjectAdditional properties relating to the error. 
-   titlestringRequiredSummary of the problem. 
-   detailstringA human-readable explanation specific to this occurrence of the problem. 
-   sourceobjectReferences to the source of the error. source properties-   pointerstringA JSON Pointer to the property that caused the error. 
-   parameterstringThe URI query parameter that caused the error. 
 
-   
-   statusnumberThe HTTP status code. 
 
-   
-   traceIdstringA unique identifier for tracing the error. 
 
-   
import { createQlikApi } from '@qlik/api'
const qlik = createQlikApi({  hostConfig: {    host: 'https://your-tenant.us.qlikcloud.com',    apiKey: '<access-token>',  },})
await qlik.users.createUser({  assignedRoles: [{ name: 'Developer' }],  email: 'john.smith@corp.example',  name: 'John Smith',  picture: 'https://corp.example/docs/jsmith.png',  status: 'invited',  subject: '1234asdasa6789',  tenantId: 'q3VRZ4YMixRaLKEPhkZWM-XMIDN7cO8f',})qlik user create \--assignedRoles='{"name":"Developer"}' \--email="john.smith@corp.example" \--name="John Smith" \--picture="https://corp.example/docs/jsmith.png" \--status="invited" \--subject="1234asdasa6789" \--tenantId="q3VRZ4YMixRaLKEPhkZWM-XMIDN7cO8f"curl "https://your-tenant.us.qlikcloud.com/api/v1/users" \-X POST \-H "Content-type: application/json" \-H "Authorization: Bearer <access_token>" \-d '{"name":"John Smith","email":"john.smith@corp.example","status":"invited","picture":"https://corp.example/docs/jsmith.png","subject":"1234asdasa6789","tenantId":"q3VRZ4YMixRaLKEPhkZWM-XMIDN7cO8f","assignedRoles":[{"name":"Developer"}]}'Example Response
{  "id": "TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69",  "name": "string",  "email": "string",  "links": {    "self": {      "href": "http://mytenant.elastic.example/api/v1/users/DKNmFJCNo8SGURUdh2ll--------USER"    }  },  "roles": [    "TenantAdmin"  ],  "locale": "string",  "status": "active",  "created": "string",  "picture": "http://example.com",  "subject": "string",  "tenantId": "TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69",  "zoneinfo": "string",  "createdAt": "2018-10-30T07:06:22Z",  "lastUpdated": "string",  "inviteExpiry": 42,  "assignedRoles": [    {      "id": "507f191e810c19729de860ea",      "name": "Developer",      "type": "default",      "level": "user"    }  ],  "lastUpdatedAt": "2018-10-30T07:06:22Z",  "assignedGroups": [    {      "id": "507f191e810c19729de860eb",      "name": "Finance",      "providerType": "idp",      "assignedRoles": [        {          "id": "507f191e810c19729de860ea",          "name": "Developer",          "type": "default",          "level": "user"        }      ]    }  ],  "assignedScopes": [    "string"  ],  "preferredLocale": "string",  "preferredZoneinfo": "string"}Returns the requested user.
Facts
| Rate limit | Tier 1 (1000 requests per minute) | 
| Categories | manage | 
Query Parameters
-   fieldsstringA comma-delimited string of the requested fields per entity. If the 'links' value is omitted, then the entity HATEOAS link will also be omitted. 
Path Parameters
-   userIdstringRequiredThe user's unique identifier 
Responses
200
User resource
-   application/jsonobjectA user object. application/json properties-   idstringRequiredFilterableThe unique user identifier. 
-   namestringRequiredFilterableThe name of the user. 
-   emailstringThe email address for the user. 
-   linksobjectPagination links to the user. links properties-   selfobjectRequiredA link to this user. self properties-   hrefstringRequiredURL that defines the resource. 
 
-   
 
-   
-   rolesarray of stringsDeprecatedList of system roles to which the user has been assigned. Only returned when permitted by access control. Deprecated. Use assignedRolesinstead.Values may be any of: "TenantAdmin""Developer""AnalyticsAdmin""DataAdmin""DataSpaceCreator""ManagedSpaceCreator""SharedSpaceCreator" 
-   localestringRepresents the end-user's language tag. 
-   statusstringThe status of the user within the tenant. Can be one of: "active""invited""disabled""deleted""provisioned" 
-   createdstringDeprecatedDeprecated. Use createdAtinstead.
-   picturestringA static url linking to the avatar of the user. 
-   subjectstringRequiredFilterableThe unique user identitier from an identity provider. 
-   tenantIdstringRequiredThe tenant that the user belongs too. 
-   zoneinfostringRepresents the end-user's time zone. 
-   createdAtstringThe timestamp for when the user record was created. 
-   lastUpdatedstringDeprecatedDeprecated. Use lastUpdatedAtinstead.
-   inviteExpirynumberThe Unix timestamp indicating when the invite will expire. 
-   assignedRolesarray of objectsAn array of role references. Visibility dependant on access level. Must have access to roles to view other users' assigned roles. assignedRoles properties-   idstringRequiredThe unique role identitier 
-   namestringRequiredFilterableThe role name 
-   typestringRequiredThe type of role Can be one of: "default""custom" 
-   levelstringRequiredThe role level Can be one of: "admin""user" 
 
-   
-   lastUpdatedAtstringThe timestamp for when the user record was last updated. 
-   assignedGroupsarray of objectsAn array of group references. assignedGroups properties-   idstringRequiredThe unique group identitier 
-   namestringRequiredThe group name 
-   providerTypestringThe provider type of the group Can be one of: "idp""custom" 
-   assignedRolesarray of objectsAn array of role references. Visibility dependant on access level. Must have access to roles to view other users' assigned roles. assignedRoles properties-   idstringRequiredThe unique role identitier 
-   namestringRequiredFilterableThe role name 
-   typestringRequiredThe type of role Can be one of: "default""custom" 
-   levelstringRequiredThe role level Can be one of: "admin""user" 
 
-   
 
-   
-   assignedScopesarray of stringsAn array of scopes assigned to a user 
-   preferredLocalestringRepresents the end-user's preferred language tag. 
-   preferredZoneinfostringRepresents the end-user's preferred time zone. 
 
-   
403
Forbidden from getting a user.
-   application/jsonobjectThe error response object describing the error from the handling of an HTTP request. application/json properties-   errorsarray of objectsAn array of errors related to the operation. errors properties-   codestringRequiredThe error code. 
-   metaobjectAdditional properties relating to the error. 
-   titlestringRequiredSummary of the problem. 
-   detailstringA human-readable explanation specific to this occurrence of the problem. 
-   sourceobjectReferences to the source of the error. source properties-   pointerstringA JSON Pointer to the property that caused the error. 
-   parameterstringThe URI query parameter that caused the error. 
 
-   
-   statusnumberThe HTTP status code. 
 
-   
-   traceIdstringA unique identifier for tracing the error. 
 
-   
404
User was not found.
-   application/jsonobjectThe error response object describing the error from the handling of an HTTP request. application/json properties-   errorsarray of objectsAn array of errors related to the operation. errors properties-   codestringRequiredThe error code. 
-   metaobjectAdditional properties relating to the error. 
-   titlestringRequiredSummary of the problem. 
-   detailstringA human-readable explanation specific to this occurrence of the problem. 
-   sourceobjectReferences to the source of the error. source properties-   pointerstringA JSON Pointer to the property that caused the error. 
-   parameterstringThe URI query parameter that caused the error. 
 
-   
-   statusnumberThe HTTP status code. 
 
-   
-   traceIdstringA unique identifier for tracing the error. 
 
-   
429
Request has been rate limited.
-   application/jsonobjectThe error response object describing the error from the handling of an HTTP request. application/json properties-   errorsarray of objectsAn array of errors related to the operation. errors properties-   codestringRequiredThe error code. 
-   metaobjectAdditional properties relating to the error. 
-   titlestringRequiredSummary of the problem. 
-   detailstringA human-readable explanation specific to this occurrence of the problem. 
-   sourceobjectReferences to the source of the error. source properties-   pointerstringA JSON Pointer to the property that caused the error. 
-   parameterstringThe URI query parameter that caused the error. 
 
-   
-   statusnumberThe HTTP status code. 
 
-   
-   traceIdstringA unique identifier for tracing the error. 
 
-   
500
Internal server error.
-   application/jsonobjectThe error response object describing the error from the handling of an HTTP request. application/json properties-   errorsarray of objectsAn array of errors related to the operation. errors properties-   codestringRequiredThe error code. 
-   metaobjectAdditional properties relating to the error. 
-   titlestringRequiredSummary of the problem. 
-   detailstringA human-readable explanation specific to this occurrence of the problem. 
-   sourceobjectReferences to the source of the error. source properties-   pointerstringA JSON Pointer to the property that caused the error. 
-   parameterstringThe URI query parameter that caused the error. 
 
-   
-   statusnumberThe HTTP status code. 
 
-   
-   traceIdstringA unique identifier for tracing the error. 
 
-   
import { createQlikApi } from '@qlik/api'
const qlik = createQlikApi({  hostConfig: {    host: 'https://your-tenant.us.qlikcloud.com',    apiKey: '<access-token>',  },})
await qlik.users.getUser(  'TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69',  {},)qlik user get <userId>curl "https://your-tenant.us.qlikcloud.com/api/v1/users/{userId}" \-H "Authorization: Bearer <access_token>"Example Response
{  "id": "TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69",  "name": "string",  "email": "string",  "links": {    "self": {      "href": "http://mytenant.elastic.example/api/v1/users/DKNmFJCNo8SGURUdh2ll--------USER"    }  },  "roles": [    "TenantAdmin"  ],  "locale": "string",  "status": "active",  "created": "string",  "picture": "http://example.com",  "subject": "string",  "tenantId": "TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69",  "zoneinfo": "string",  "createdAt": "2018-10-30T07:06:22Z",  "lastUpdated": "string",  "inviteExpiry": 42,  "assignedRoles": [    {      "id": "507f191e810c19729de860ea",      "name": "Developer",      "type": "default",      "level": "user"    }  ],  "lastUpdatedAt": "2018-10-30T07:06:22Z",  "assignedGroups": [    {      "id": "507f191e810c19729de860eb",      "name": "Finance",      "providerType": "idp",      "assignedRoles": [        {          "id": "507f191e810c19729de860ea",          "name": "Developer",          "type": "default",          "level": "user"        }      ]    }  ],  "assignedScopes": [    "string"  ],  "preferredLocale": "string",  "preferredZoneinfo": "string"}Updates fields for a user resource
Facts
| Rate limit | Tier 2 (100 requests per minute) | 
| Categories | manage | 
Path Parameters
-   userIdstringRequiredThe ID of the user to update. 
Request Body
Required-   application/jsonarray of objectsAn array of JSON Patch documents application/json properties-   opstringRequiredThe operation to be performed. The fields setandunsetare deprecated.Can be one of: "replace""set""unset""add""renew""remove-value" 
-   pathstringRequiredA JSON Pointer. The field rolesis deprecated.Can be one of: "/name""/roles""/assignedRoles""/inviteExpiry""/preferredZoneinfo""/preferredLocale""/status""/assignedGroups" 
-   valuestring|boolean|arrayRequiredThe value to be used for this operation. One of:-   string
-   boolean
-   array
-   RefIDsarray of objectsAn array of entity reference identifiers (e.g. roles, groups). RefIDs properties-   idstringRequiredThe unique identitier 
 
-   
-   RefNamesarray of objectsAn array of reference names (e.g. roles). RefNames properties-   namestringRequiredThe name of the entity 
 
-   
-   AssignedGroupsRefNamesarray of objectsAn array of group reference names and provider type. AssignedGroupsRefNames properties-   namestringRequiredThe name of the group 
-   providerTypestringRequiredThe type of provider for the group. Can be one of: "idp""custom" 
 
-   
 
-   
 
-   
Responses
204
User updated successfully.
207
User update was partially successful with non-critical failures.
-   application/jsonobjectThe error response object describing the error from the handling of an HTTP request. application/json properties-   errorsarray of objectsAn array of errors related to the operation. errors properties-   codestringRequiredThe error code. 
-   metaobjectAdditional properties relating to the error. 
-   titlestringRequiredSummary of the problem. 
-   detailstringA human-readable explanation specific to this occurrence of the problem. 
-   sourceobjectReferences to the source of the error. source properties-   pointerstringA JSON Pointer to the property that caused the error. 
-   parameterstringThe URI query parameter that caused the error. 
 
-   
-   statusnumberThe HTTP status code. 
 
-   
-   traceIdstringA unique identifier for tracing the error. 
 
-   
400
Invalid request for patching a user.
-   application/jsonobjectThe error response object describing the error from the handling of an HTTP request. application/json properties-   errorsarray of objectsAn array of errors related to the operation. errors properties-   codestringRequiredThe error code. 
-   metaobjectAdditional properties relating to the error. 
-   titlestringRequiredSummary of the problem. 
-   detailstringA human-readable explanation specific to this occurrence of the problem. 
-   sourceobjectReferences to the source of the error. source properties-   pointerstringA JSON Pointer to the property that caused the error. 
-   parameterstringThe URI query parameter that caused the error. 
 
-   
-   statusnumberThe HTTP status code. 
 
-   
-   traceIdstringA unique identifier for tracing the error. 
 
-   
403
Forbidden from patching a user.
-   application/jsonobjectThe error response object describing the error from the handling of an HTTP request. application/json properties-   errorsarray of objectsAn array of errors related to the operation. errors properties-   codestringRequiredThe error code. 
-   metaobjectAdditional properties relating to the error. 
-   titlestringRequiredSummary of the problem. 
-   detailstringA human-readable explanation specific to this occurrence of the problem. 
-   sourceobjectReferences to the source of the error. source properties-   pointerstringA JSON Pointer to the property that caused the error. 
-   parameterstringThe URI query parameter that caused the error. 
 
-   
-   statusnumberThe HTTP status code. 
 
-   
-   traceIdstringA unique identifier for tracing the error. 
 
-   
404
User was not found.
-   application/jsonobjectThe error response object describing the error from the handling of an HTTP request. application/json properties-   errorsarray of objectsAn array of errors related to the operation. errors properties-   codestringRequiredThe error code. 
-   metaobjectAdditional properties relating to the error. 
-   titlestringRequiredSummary of the problem. 
-   detailstringA human-readable explanation specific to this occurrence of the problem. 
-   sourceobjectReferences to the source of the error. source properties-   pointerstringA JSON Pointer to the property that caused the error. 
-   parameterstringThe URI query parameter that caused the error. 
 
-   
-   statusnumberThe HTTP status code. 
 
-   
-   traceIdstringA unique identifier for tracing the error. 
 
-   
429
Request has been rate limited.
-   application/jsonobjectThe error response object describing the error from the handling of an HTTP request. application/json properties-   errorsarray of objectsAn array of errors related to the operation. errors properties-   codestringRequiredThe error code. 
-   metaobjectAdditional properties relating to the error. 
-   titlestringRequiredSummary of the problem. 
-   detailstringA human-readable explanation specific to this occurrence of the problem. 
-   sourceobjectReferences to the source of the error. source properties-   pointerstringA JSON Pointer to the property that caused the error. 
-   parameterstringThe URI query parameter that caused the error. 
 
-   
-   statusnumberThe HTTP status code. 
 
-   
-   traceIdstringA unique identifier for tracing the error. 
 
-   
import { createQlikApi } from '@qlik/api'
const qlik = createQlikApi({  hostConfig: {    host: 'https://your-tenant.us.qlikcloud.com',    apiKey: '<access-token>',  },})
await qlik.users.patchUser(  'TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69',  [    {      op: 'replace',      path: '/name',      value: 'John',    },
    {      op: 'replace',      path: '/assignedRoles',      value: [{ name: 'Developer' }],    },
    {      op: 'replace',      path: '/email',      value: 'unicorn@corp.example',    },
    {      op: 'replace',      path: '/preferredZoneInfo',      value: 'America/Halifax',    },
    {      op: 'replace',      path: '/preferredLocale',      value: 'en_US_POSIX',    },
    {      op: 'replace',      path: '/status',      value: 'active',    },
    {      op: 'add',      path: '/assignedRoles/-',      value: { name: 'TenantAdmin' },    },
    {      op: 'remove-value',      path: '/assignedRoles',      value: { id: '67ac386d2bab6dd4925008e8' },    },  ],)qlik user patch <userId> \--body='[{"op":"replace","path":"/name","value":"John"},{"op":"replace","path":"/assignedRoles","value":[{"name":"Developer"}]},{"op":"replace","path":"/email","value":"unicorn@corp.example"},{"op":"replace","path":"/preferredZoneInfo","value":"America/Halifax"},{"op":"replace","path":"/preferredLocale","value":"en_US_POSIX"},{"op":"replace","path":"/status","value":"active"},{"op":"add","path":"/assignedRoles/-","value":{"name":"TenantAdmin"}},{"op":"remove-value","path":"/assignedRoles","value":{"id":"67ac386d2bab6dd4925008e8"}}]'curl "https://your-tenant.us.qlikcloud.com/api/v1/users/{userId}" \-X PATCH \-H "Content-type: application/json" \-H "Authorization: Bearer <access_token>" \-d '[{"op":"replace","path":"/name","value":"John"},{"op":"replace","path":"/assignedRoles","value":[{"name":"Developer"}]},{"op":"replace","path":"/email","value":"unicorn@corp.example"},{"op":"replace","path":"/preferredZoneInfo","value":"America/Halifax"},{"op":"replace","path":"/preferredLocale","value":"en_US_POSIX"},{"op":"replace","path":"/status","value":"active"},{"op":"add","path":"/assignedRoles/-","value":{"name":"TenantAdmin"}},{"op":"remove-value","path":"/assignedRoles","value":{"id":"67ac386d2bab6dd4925008e8"}}]'Example Response
{  "errors": [    {      "code": "USERS-7",      "title": "Not found",      "status": 404    }  ],  "traceId": "000000000000000079cf1ebeae103de1"}Deletes the requested user.
Facts
| Rate limit | Tier 2 (100 requests per minute) | 
| Categories | manage | 
Path Parameters
-   userIdstringRequiredThe ID of the user to delete. 
Responses
204
User deleted successfully.
400
Invalid request for deleting a user.
-   application/jsonobjectThe error response object describing the error from the handling of an HTTP request. application/json properties-   errorsarray of objectsAn array of errors related to the operation. errors properties-   codestringRequiredThe error code. 
-   metaobjectAdditional properties relating to the error. 
-   titlestringRequiredSummary of the problem. 
-   detailstringA human-readable explanation specific to this occurrence of the problem. 
-   sourceobjectReferences to the source of the error. source properties-   pointerstringA JSON Pointer to the property that caused the error. 
-   parameterstringThe URI query parameter that caused the error. 
 
-   
-   statusnumberThe HTTP status code. 
 
-   
-   traceIdstringA unique identifier for tracing the error. 
 
-   
403
Forbidden from deleting a user.
-   application/jsonobjectThe error response object describing the error from the handling of an HTTP request. application/json properties-   errorsarray of objectsAn array of errors related to the operation. errors properties-   codestringRequiredThe error code. 
-   metaobjectAdditional properties relating to the error. 
-   titlestringRequiredSummary of the problem. 
-   detailstringA human-readable explanation specific to this occurrence of the problem. 
-   sourceobjectReferences to the source of the error. source properties-   pointerstringA JSON Pointer to the property that caused the error. 
-   parameterstringThe URI query parameter that caused the error. 
 
-   
-   statusnumberThe HTTP status code. 
 
-   
-   traceIdstringA unique identifier for tracing the error. 
 
-   
404
User was not found.
-   application/jsonobjectThe error response object describing the error from the handling of an HTTP request. application/json properties-   errorsarray of objectsAn array of errors related to the operation. errors properties-   codestringRequiredThe error code. 
-   metaobjectAdditional properties relating to the error. 
-   titlestringRequiredSummary of the problem. 
-   detailstringA human-readable explanation specific to this occurrence of the problem. 
-   sourceobjectReferences to the source of the error. source properties-   pointerstringA JSON Pointer to the property that caused the error. 
-   parameterstringThe URI query parameter that caused the error. 
 
-   
-   statusnumberThe HTTP status code. 
 
-   
-   traceIdstringA unique identifier for tracing the error. 
 
-   
429
Request has been rate limited.
-   application/jsonobjectThe error response object describing the error from the handling of an HTTP request. application/json properties-   errorsarray of objectsAn array of errors related to the operation. errors properties-   codestringRequiredThe error code. 
-   metaobjectAdditional properties relating to the error. 
-   titlestringRequiredSummary of the problem. 
-   detailstringA human-readable explanation specific to this occurrence of the problem. 
-   sourceobjectReferences to the source of the error. source properties-   pointerstringA JSON Pointer to the property that caused the error. 
-   parameterstringThe URI query parameter that caused the error. 
 
-   
-   statusnumberThe HTTP status code. 
 
-   
-   traceIdstringA unique identifier for tracing the error. 
 
-   
import { createQlikApi } from '@qlik/api'
const qlik = createQlikApi({  hostConfig: {    host: 'https://your-tenant.us.qlikcloud.com',    apiKey: '<access-token>',  },})
await qlik.users.deleteUser(  'TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69',)qlik user rm <userId>curl "https://your-tenant.us.qlikcloud.com/api/v1/users/{userId}" \-X DELETE \-H "Authorization: Bearer <access_token>"Returns the number of users in a given tenant
Facts
| Rate limit | Tier 1 (1000 requests per minute) | 
| Categories | manage | 
Query Parameters
-   tenantIdstringDeprecatedThe tenant ID to filter by. 
Responses
200
The count of users.
-   application/jsonobjectThe result object for the user count. application/json properties-   totalnumberRequiredThe total number of users in the tenant. 
 
-   
403
Forbidden from reading the count.
-   application/jsonobjectThe error response object describing the error from the handling of an HTTP request. application/json properties-   errorsarray of objectsAn array of errors related to the operation. errors properties-   codestringRequiredThe error code. 
-   metaobjectAdditional properties relating to the error. 
-   titlestringRequiredSummary of the problem. 
-   detailstringA human-readable explanation specific to this occurrence of the problem. 
-   sourceobjectReferences to the source of the error. source properties-   pointerstringA JSON Pointer to the property that caused the error. 
-   parameterstringThe URI query parameter that caused the error. 
 
-   
-   statusnumberThe HTTP status code. 
 
-   
-   traceIdstringA unique identifier for tracing the error. 
 
-   
404
Not found.
-   application/jsonobjectThe error response object describing the error from the handling of an HTTP request. application/json properties-   errorsarray of objectsAn array of errors related to the operation. errors properties-   codestringRequiredThe error code. 
-   metaobjectAdditional properties relating to the error. 
-   titlestringRequiredSummary of the problem. 
-   detailstringA human-readable explanation specific to this occurrence of the problem. 
-   sourceobjectReferences to the source of the error. source properties-   pointerstringA JSON Pointer to the property that caused the error. 
-   parameterstringThe URI query parameter that caused the error. 
 
-   
-   statusnumberThe HTTP status code. 
 
-   
-   traceIdstringA unique identifier for tracing the error. 
 
-   
429
Request has been rate limited.
-   application/jsonobjectThe error response object describing the error from the handling of an HTTP request. application/json properties-   errorsarray of objectsAn array of errors related to the operation. errors properties-   codestringRequiredThe error code. 
-   metaobjectAdditional properties relating to the error. 
-   titlestringRequiredSummary of the problem. 
-   detailstringA human-readable explanation specific to this occurrence of the problem. 
-   sourceobjectReferences to the source of the error. source properties-   pointerstringA JSON Pointer to the property that caused the error. 
-   parameterstringThe URI query parameter that caused the error. 
 
-   
-   statusnumberThe HTTP status code. 
 
-   
-   traceIdstringA unique identifier for tracing the error. 
 
-   
import { createQlikApi } from '@qlik/api'
const qlik = createQlikApi({  hostConfig: {    host: 'https://your-tenant.us.qlikcloud.com',    apiKey: '<access-token>',  },})
await qlik.users.countUsers({})qlik user countcurl "https://your-tenant.us.qlikcloud.com/api/v1/users/actions/count" \-H "Authorization: Bearer <access_token>"Example Response
{  "total": 42}Retrieves a list of users matching the filter using an advanced query string.
Facts
| Rate limit | Special (200 requests per minute) | 
| Categories | manage | 
Query Parameters
-   fieldsstringA comma-delimited string of the requested fields per entity. If the 'links' value is omitted, then the entity HATEOAS link will also be omitted. 
-   limitnumberThe number of user entries to retrieve. 
-   nextstringGet users with IDs that are higher than the target user ID. Cannot be used in conjunction with prev. 
-   prevstringGet users with IDs that are lower than the target user ID. Cannot be used in conjunction with next. 
-   sortstringThe field to sort by, with +/- prefix indicating sort order Can be one of: "name""+name""-name" 
Request Body
Will contain the query filter to apply. It shall not contain more than 100 ids.
-   application/jsonobjectAn advanced query filter to be used for complex user querying in the tenant. application/json properties-   filterstringThe advanced filtering to be applied the query. All conditional statements within this query parameter are case insensitive. 
 
-   
Responses
200
Users retrieved.
-   application/jsonobjectapplication/json properties-   dataarray of objectsList of users. data properties-   idstringRequiredFilterableThe unique user identifier. 
-   namestringRequiredFilterableThe name of the user. 
-   emailstringThe email address for the user. 
-   linksobjectPagination links to the user. links properties-   selfobjectRequiredA link to this user. self properties-   hrefstringRequiredURL that defines the resource. 
 
-   
 
-   
-   rolesarray of stringsDeprecatedList of system roles to which the user has been assigned. Only returned when permitted by access control. Deprecated. Use assignedRolesinstead.Values may be any of: "TenantAdmin""Developer""AnalyticsAdmin""DataAdmin""DataSpaceCreator""ManagedSpaceCreator""SharedSpaceCreator" 
-   localestringRepresents the end-user's language tag. 
-   statusstringThe status of the user within the tenant. Can be one of: "active""invited""disabled""deleted""provisioned" 
-   createdstringDeprecatedDeprecated. Use createdAtinstead.
-   picturestringA static url linking to the avatar of the user. 
-   subjectstringRequiredFilterableThe unique user identitier from an identity provider. 
-   tenantIdstringRequiredThe tenant that the user belongs too. 
-   zoneinfostringRepresents the end-user's time zone. 
-   createdAtstringThe timestamp for when the user record was created. 
-   lastUpdatedstringDeprecatedDeprecated. Use lastUpdatedAtinstead.
-   inviteExpirynumberThe Unix timestamp indicating when the invite will expire. 
-   assignedRolesarray of objectsAn array of role references. Visibility dependant on access level. Must have access to roles to view other users' assigned roles. assignedRoles properties-   idstringRequiredThe unique role identitier 
-   namestringRequiredFilterableThe role name 
-   typestringRequiredThe type of role Can be one of: "default""custom" 
-   levelstringRequiredThe role level Can be one of: "admin""user" 
 
-   
-   lastUpdatedAtstringThe timestamp for when the user record was last updated. 
-   assignedGroupsarray of objectsAn array of group references. assignedGroups properties-   idstringRequiredThe unique group identitier 
-   namestringRequiredThe group name 
-   providerTypestringThe provider type of the group Can be one of: "idp""custom" 
-   assignedRolesarray of objectsAn array of role references. Visibility dependant on access level. Must have access to roles to view other users' assigned roles. assignedRoles properties-   idstringRequiredThe unique role identitier 
-   namestringRequiredFilterableThe role name 
-   typestringRequiredThe type of role Can be one of: "default""custom" 
-   levelstringRequiredThe role level Can be one of: "admin""user" 
 
-   
 
-   
-   assignedScopesarray of stringsAn array of scopes assigned to a user 
-   preferredLocalestringRepresents the end-user's preferred language tag. 
-   preferredZoneinfostringRepresents the end-user's preferred time zone. 
 
-   
-   linksobjectPagination links links properties-   nextobjectLink information for next page next properties-   hrefstringRequiredURL to the next page of records 
 
-   
-   prevobjectLink information for previous page prev properties-   hrefstringRequiredURL to the previous page of records 
 
-   
-   selfobjectRequiredLink information for current page self properties-   hrefstringRequiredURL to the current page of records 
 
-   
 
-   
-   totalResultsintegerIndicates the total number of matching documents. Will only be returned if the query parameter "totalResults" is true. 
 
-   
400
Advanced query filter syntax error or query params format error or filter too complex.
-   application/jsonobjectThe error response object describing the error from the handling of an HTTP request. application/json properties-   errorsarray of objectsAn array of errors related to the operation. errors properties-   codestringRequiredThe error code. 
-   metaobjectAdditional properties relating to the error. 
-   titlestringRequiredSummary of the problem. 
-   detailstringA human-readable explanation specific to this occurrence of the problem. 
-   sourceobjectReferences to the source of the error. source properties-   pointerstringA JSON Pointer to the property that caused the error. 
-   parameterstringThe URI query parameter that caused the error. 
 
-   
-   statusnumberThe HTTP status code. 
 
-   
-   traceIdstringA unique identifier for tracing the error. 
 
-   
401
Unauthorized, JWT invalid or not provided.
-   application/jsonobjectThe error response object describing the error from the handling of an HTTP request. application/json properties-   errorsarray of objectsAn array of errors related to the operation. errors properties-   codestringRequiredThe error code. 
-   metaobjectAdditional properties relating to the error. 
-   titlestringRequiredSummary of the problem. 
-   detailstringA human-readable explanation specific to this occurrence of the problem. 
-   sourceobjectReferences to the source of the error. source properties-   pointerstringA JSON Pointer to the property that caused the error. 
-   parameterstringThe URI query parameter that caused the error. 
 
-   
-   statusnumberThe HTTP status code. 
 
-   
-   traceIdstringA unique identifier for tracing the error. 
 
-   
403
The operation failed due to unsufficient permissions.
-   application/jsonobjectThe error response object describing the error from the handling of an HTTP request. application/json properties-   errorsarray of objectsAn array of errors related to the operation. errors properties-   codestringRequiredThe error code. 
-   metaobjectAdditional properties relating to the error. 
-   titlestringRequiredSummary of the problem. 
-   detailstringA human-readable explanation specific to this occurrence of the problem. 
-   sourceobjectReferences to the source of the error. source properties-   pointerstringA JSON Pointer to the property that caused the error. 
-   parameterstringThe URI query parameter that caused the error. 
 
-   
-   statusnumberThe HTTP status code. 
 
-   
-   traceIdstringA unique identifier for tracing the error. 
 
-   
429
Request has been rate limited.
-   application/jsonobjectThe error response object describing the error from the handling of an HTTP request. application/json properties-   errorsarray of objectsAn array of errors related to the operation. errors properties-   codestringRequiredThe error code. 
-   metaobjectAdditional properties relating to the error. 
-   titlestringRequiredSummary of the problem. 
-   detailstringA human-readable explanation specific to this occurrence of the problem. 
-   sourceobjectReferences to the source of the error. source properties-   pointerstringA JSON Pointer to the property that caused the error. 
-   parameterstringThe URI query parameter that caused the error. 
 
-   
-   statusnumberThe HTTP status code. 
 
-   
-   traceIdstringA unique identifier for tracing the error. 
 
-   
500
Internal server error.
-   application/jsonobjectThe error response object describing the error from the handling of an HTTP request. application/json properties-   errorsarray of objectsAn array of errors related to the operation. errors properties-   codestringRequiredThe error code. 
-   metaobjectAdditional properties relating to the error. 
-   titlestringRequiredSummary of the problem. 
-   detailstringA human-readable explanation specific to this occurrence of the problem. 
-   sourceobjectReferences to the source of the error. source properties-   pointerstringA JSON Pointer to the property that caused the error. 
-   parameterstringThe URI query parameter that caused the error. 
 
-   
-   statusnumberThe HTTP status code. 
 
-   
-   traceIdstringA unique identifier for tracing the error. 
 
-   
import { createQlikApi } from '@qlik/api'
const qlik = createQlikApi({  hostConfig: {    host: 'https://your-tenant.us.qlikcloud.com',    apiKey: '<access-token>',  },})
await qlik.users.filterUsers(  {},  {    filter:      '(id eq "626949b9017b657805080bbd" or id eq "626949bf017b657805080bbe") and (status eq "active" or status eq "deleted")',  },)qlik user filter \--filter="(id eq "626949b9017b657805080bbd" or id eq "626949bf017b657805080bbe") and (status eq "active" or status eq "deleted")"curl "https://your-tenant.us.qlikcloud.com/api/v1/users/actions/filter" \-X POST \-H "Content-type: application/json" \-H "Authorization: Bearer <access_token>" \-d '{"filter":"(id eq \"626949b9017b657805080bbd\" or id eq \"626949bf017b657805080bbe\") and (status eq \"active\" or status eq \"deleted\")"}'Example Response
{  "data": [    {      "id": "TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69",      "name": "string",      "email": "string",      "links": {        "self": {          "href": "http://mytenant.elastic.example/api/v1/users/DKNmFJCNo8SGURUdh2ll--------USER"        }      },      "roles": [        "TenantAdmin"      ],      "locale": "string",      "status": "active",      "created": "string",      "picture": "http://example.com",      "subject": "string",      "tenantId": "TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69",      "zoneinfo": "string",      "createdAt": "2018-10-30T07:06:22Z",      "lastUpdated": "string",      "inviteExpiry": 42,      "assignedRoles": [        {          "id": "507f191e810c19729de860ea",          "name": "Developer",          "type": "default",          "level": "user"        }      ],      "lastUpdatedAt": "2018-10-30T07:06:22Z",      "assignedGroups": [        {          "id": "507f191e810c19729de860eb",          "name": "Finance",          "providerType": "idp",          "assignedRoles": [            {              "id": "507f191e810c19729de860ea",              "name": "Developer",              "type": "default",              "level": "user"            }          ]        }      ],      "assignedScopes": [        "string"      ],      "preferredLocale": "string",      "preferredZoneinfo": "string"    }  ],  "links": {    "next": {      "href": "string"    },    "prev": {      "href": "string"    },    "self": {      "href": "string"    }  },  "totalResults": 42}Facts
| Rate limit | Tier 2 (100 requests per minute) | 
| Categories | manage | 
Request Body
Required-   application/jsonobjectapplication/json properties-   inviteesarray of objectsList of invitees who should receive an invite email. invitees properties-   namestringOptional display name for this invitee. Example - "Elvis Presley". 
-   emailstringRequiredEmail address for this invitee. Example - "foo@qlik.com". 
-   resendbooleanFlag - when true invite message is sent to inactive or invited users. Typically used to force email resend to users who are not yet active. 
-   languagestringOptional ISO 639-1 2 letter code for invite language. Defaults to 'en' when missing or not found. 
 
-   
 
-   
Responses
207
Request completed successfully. See Results for ResultDetail on each invite.
-   application/jsonobjectData list - ResultItem or ErrorItem for each InviteeItem. application/json properties-   dataarray of objectsOne of:-   ResultItemobjectInvitee result item ResultItem properties-   emailstringRequiredEmail specified for this invitee 
-   statusstringRequiredResult status = {"ok" (new user; email sent) | "exists" (existing user; no email sent)} Can be one of: "ok""exists" 
-   userIdstringRequiredUserId for this invitee 
-   subjectstringRequiredIdP generated UUID for this invitee 
 
-   
-   InviteErrorItemobjectError object. InviteErrorItem properties-   codestringRequiredError code - | HTTP Status code | 1001 - Active User | 1002 - Disabled User | 1003 - Default External Dependency Error | 
-   titlestringRequiredSummary of the problem 
-   detailstringA human-readable explanation specific to this occurrence of the problem (if applicable) 
-   emailstringRequiredInvitee email 
-   statusstringRequiredResult status = "error" Can be one of: "error" 
 
-   
 
-   
 
-   
403
Request denied.
-   application/jsonobjectapplication/json properties-   errorsarray of objectsError object. errors properties-   codeintegerRequiredError code 
-   titlestringRequiredSummary of the problem 
-   detailstringA human-readable explanation specific to this occurrence of the problem (if applicable) 
 
-   
 
-   
default
Request error. See Errors.
-   application/jsonobjectapplication/json properties-   errorsarray of objectsError object. errors properties-   codeintegerRequiredError code 
-   titlestringRequiredSummary of the problem 
-   detailstringA human-readable explanation specific to this occurrence of the problem (if applicable) 
 
-   
 
-   
import { createQlikApi } from '@qlik/api'
const qlik = createQlikApi({  hostConfig: {    host: 'https://your-tenant.us.qlikcloud.com',    apiKey: '<access-token>',  },})
await qlik.users.inviteUsers({  invitees: [    {      email: 'string',      language: 'string',      name: 'string',      resend: true,    },  ],})This API is not included yet in qlik-clicurl "https://your-tenant.us.qlikcloud.com/api/v1/users/actions/invite" \-X POST \-H "Content-type: application/json" \-H "Authorization: Bearer <access_token>" \-d '{"invitees":[{"name":"string","email":"string","resend":true,"language":"string"}]}'Example Response
{  "data": [    {      "email": "string",      "status": "ok",      "userId": "TiQ8GPVr8qI714Lp5ChAAFFaU24MJy69",      "subject": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4"    }  ]}Redirects to retrieve the user resource associated with the JWT claims.
Facts
| Rate limit | Tier 1 (1000 requests per minute) | 
| Categories | manage | 
Responses
301
Successful redirect.
-   text/htmlstring
429
Request has been rate limited.
-   application/jsonobjectThe error response object describing the error from the handling of an HTTP request. application/json properties-   errorsarray of objectsAn array of errors related to the operation. errors properties-   codestringRequiredThe error code. 
-   metaobjectAdditional properties relating to the error. 
-   titlestringRequiredSummary of the problem. 
-   detailstringA human-readable explanation specific to this occurrence of the problem. 
-   sourceobjectReferences to the source of the error. source properties-   pointerstringA JSON Pointer to the property that caused the error. 
-   parameterstringThe URI query parameter that caused the error. 
 
-   
-   statusnumberThe HTTP status code. 
 
-   
-   traceIdstringA unique identifier for tracing the error. 
 
-   
import { createQlikApi } from '@qlik/api'
const qlik = createQlikApi({  hostConfig: {    host: 'https://your-tenant.us.qlikcloud.com',    apiKey: '<access-token>',  },})
await qlik.users.getMyUser()qlik user mecurl "https://your-tenant.us.qlikcloud.com/api/v1/users/me" \-H "Authorization: Bearer <access_token>"