---
source: https://qlik.dev/apis/event/licenses/
last_updated: 2026-06-02T09:50:42Z
---

# Licenses

## Table of Contents

### system-events.licenses

- [com.qlik.license.assignment.deleted](#comqliklicenseassignmentdeleted)
- [com.qlik.license.assignment.rejected](#comqliklicenseassignmentrejected)
- [com.qlik.license.assignment.updated](#comqliklicenseassignmentupdated)
- [com.qlik.license.data.volume.consumption.aggregated](#comqliklicensedatavolumeconsumptionaggregated)
- [com.qlik.license.definition.updated](#comqliklicensedefinitionupdated)
- [com.qlik.v1.license.lease.created](#comqlikv1licenseleasecreated)
- [com.qlik.v1.license.lease.deleted](#comqlikv1licenseleasedeleted)
- [com.qlik.v1.license.lease.updated](#comqlikv1licenseleaseupdated)
- [com.qlik.v1.license.tenant.associated](#comqlikv1licensetenantassociated)

## Events published on the `system-events.licenses` channel

### com.qlik.license.assignment.deleted

**Title:** Assignment deleted

**Action:** `send`

**Visibility:** `public`

**Stability:** `stable`

Event triggered when a license assignment is deleted.

**Payload**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | No | Unique identifier of the event. |
| `time` | `string` | No | Timestamp of when the event happened. Metadata: format = "date-time". |
| `type` | `string` | Yes | The event type identifier. Metadata: default = "com.qlik.license.assignment.deleted". |
| `source` | `string` | No | The source of the event. |
| `specversion` | `string` | No | CloudEvents spec version. Allowed values: 1.0. |
| `datacontenttype` | `string` | No | The content type of the event payload. Metadata: default = "application/json". |
| `authtype` | `string` | No | The type of principal that triggered the event. |
| `authclaims` | `string` | No | JSON string representing claims of the principal. |
| `tracestate` | `string` | No | A comma-delimited list of key-value pairs. |
| `traceparent` | `string` | No | Contains a version, trace ID, span ID, and trace options. |
| `data` | `object` | Yes |  |
| `tenantid` | `string` | No | Unique identifier of the tenant related to the event. |
| `sessionid` | `string` | No | Unique identifier of the session related to the event. |

<details>
<summary>Properties of `data`</summary>

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `type` | `string` | Yes | Assignment type. |
| `origin` | `string` | Yes | event origin:   * `internal` - API triggered   * `external` - triggered by a sync operation  Allowed values: internal \| external. |
| `license` | `string` | Yes | License number. |
| `subject` | `string` | Yes | Subject of the user assigned access. |

</details>


**Example**

```json
{
  "id": "string",
  "time": "2018-10-30T07:06:22Z",
  "type": "com.qlik.license.assignment.deleted",
  "source": "string",
  "specversion": "1.0",
  "datacontenttype": "application/json",
  "authtype": "string",
  "authclaims": "string",
  "tracestate": "string",
  "traceparent": "string",
  "data": {
    "type": "professional",
    "origin": "internal",
    "license": 1234123412341234,
    "subject": "qtsel\\lhr"
  },
  "tenantid": "string",
  "sessionid": "string"
}
```


### com.qlik.license.assignment.rejected

**Title:** Assignment rejected

**Action:** `send`

**Visibility:** `public`

**Stability:** `stable`

Event triggered when a license assignment is rejected.

**Payload**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | No | Unique identifier of the event. |
| `time` | `string` | No | Timestamp of when the event happened. Metadata: format = "date-time". |
| `type` | `string` | Yes | The event type identifier. Metadata: default = "com.qlik.license.assignment.rejected". |
| `source` | `string` | No | The source of the event. |
| `specversion` | `string` | No | CloudEvents spec version. Allowed values: 1.0. |
| `datacontenttype` | `string` | No | The content type of the event payload. Metadata: default = "application/json". |
| `authtype` | `string` | No | The type of principal that triggered the event. |
| `authclaims` | `string` | No | JSON string representing claims of the principal. |
| `tracestate` | `string` | No | A comma-delimited list of key-value pairs. |
| `traceparent` | `string` | No | Contains a version, trace ID, span ID, and trace options. |
| `data` | `object` | Yes |  |
| `tenantid` | `string` | No | Unique identifier of the tenant related to the event. |
| `sessionid` | `string` | No | Unique identifier of the session related to the event. |

<details>
<summary>Properties of `data`</summary>

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `type` | `string` | Yes | Assignment type. |
| `origin` | `string` | Yes | event origin:   * `internal` - API triggered   * `external` - triggered by a sync operation  Allowed values: internal \| external. |
| `license` | `string` | Yes | License number. |
| `message` | `string` | No | Message about why the assignment was rejected. |
| `subject` | `string` | Yes | Subject of the user assigned access. |

</details>


**Example**

```json
{
  "id": "string",
  "time": "2018-10-30T07:06:22Z",
  "type": "com.qlik.license.assignment.rejected",
  "source": "string",
  "specversion": "1.0",
  "datacontenttype": "application/json",
  "authtype": "string",
  "authclaims": "string",
  "tracestate": "string",
  "traceparent": "string",
  "data": {
    "type": "professional",
    "origin": "internal",
    "license": 1234123412341234,
    "message": "string",
    "subject": "qtsel\\lhr"
  },
  "tenantid": "string",
  "sessionid": "string"
}
```


### com.qlik.license.assignment.updated

**Title:** Assignment updated

**Action:** `send`

**Visibility:** `public`

**Stability:** `stable`

Event triggered when a license assignment is updated.

**Payload**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | No | Unique identifier of the event. |
| `time` | `string` | No | Timestamp of when the event happened. Metadata: format = "date-time". |
| `type` | `string` | Yes | The event type identifier. Metadata: default = "com.qlik.license.assignment.updated". |
| `source` | `string` | No | The source of the event. |
| `specversion` | `string` | No | CloudEvents spec version. Allowed values: 1.0. |
| `datacontenttype` | `string` | No | The content type of the event payload. Metadata: default = "application/json". |
| `authtype` | `string` | No | The type of principal that triggered the event. |
| `authclaims` | `string` | No | JSON string representing claims of the principal. |
| `tracestate` | `string` | No | A comma-delimited list of key-value pairs. |
| `traceparent` | `string` | No | Contains a version, trace ID, span ID, and trace options. |
| `data` | `object` | Yes |  |
| `tenantid` | `string` | No | Unique identifier of the tenant related to the event. |
| `sessionid` | `string` | No | Unique identifier of the session related to the event. |

<details>
<summary>Properties of `data`</summary>

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `type` | `string` | Yes | Assignment type (e.g. 'analyzer_time', 'professional', etc.). |
| `origin` | `string` | Yes | event origin:   * `internal` - API triggered   * `external` - triggered by a sync operation  Allowed values: internal \| external. |
| `license` | `string` | Yes | License number. |
| `subject` | `string` | Yes | Subject of the user assigned access. |

</details>


**Example**

```json
{
  "id": "string",
  "time": "2018-10-30T07:06:22Z",
  "type": "com.qlik.license.assignment.updated",
  "source": "string",
  "specversion": "1.0",
  "datacontenttype": "application/json",
  "authtype": "string",
  "authclaims": "string",
  "tracestate": "string",
  "traceparent": "string",
  "data": {
    "type": "professional",
    "origin": "internal",
    "license": 1234123412341234,
    "subject": "qtsel\\lhr"
  },
  "tenantid": "string",
  "sessionid": "string"
}
```


### com.qlik.license.data.volume.consumption.aggregated  _(deprecated)_

**Title:** Data volume consumption aggregated

**Action:** `send`

**Deprecated:** `true`

**Visibility:** `public`

**Stability:** `stable`

Event triggered when data volume consumption is reported.

**Payload**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | No | Unique identifier of the event. |
| `time` | `string` | No | Timestamp of when the event happened. Metadata: format = "date-time". |
| `type` | `string` | Yes | The event type identifier. Metadata: default = "com.qlik.license.data.volume.consumption.aggregated". |
| `source` | `string` | No | The source of the event. |
| `specversion` | `string` | No | CloudEvents spec version. Allowed values: 1.0. |
| `datacontenttype` | `string` | No | The content type of the event payload. Metadata: default = "application/json". |
| `authtype` | `string` | No | The type of principal that triggered the event. |
| `authclaims` | `string` | No | JSON string representing claims of the principal. |
| `tracestate` | `string` | No | A comma-delimited list of key-value pairs. |
| `traceparent` | `string` | No | Contains a version, trace ID, span ID, and trace options. |
| `data` | `object` | Yes |  |
| `tenantid` | `string` | No | Unique identifier of the tenant related to the event. |

<details>
<summary>Properties of `data`</summary>

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `total` | `integer` | No | Metadata: format = int64. |
| `dataVolume` | `dataVolume` | Yes |  |
| `globalConsumption` | `integer` | No | Metadata: format = int64. |
| `globalConsumptionUnit` | `string` | No |  |
| `totalLocalConsumption` | `integer` | Yes | Metadata: format = int64. |
| `licenseHighWatermarkWithinMonth` | `integer` | No | Metadata: format = int64. |
| `licenseHighWatermarkWithinMonthUnit` | `string` | No |  |

<details>
<summary>Properties of `dataVolume`</summary>

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `unit` | `string` | Yes |  |
| `volume` | `integer` | No | Metadata: format = int64. |
| `localVolume` | `integer` | Yes | Metadata: format = int64. |
| `externalVolume` | `integer` | Yes | Metadata: format = int64. |
| `consumptionType` | `string` | Yes |  |

</details>

</details>


**Example**

```json
{
  "id": "string",
  "time": "2018-10-30T07:06:22Z",
  "type": "com.qlik.license.data.volume.consumption.aggregated",
  "source": "string",
  "specversion": "1.0",
  "datacontenttype": "application/json",
  "authtype": "string",
  "authclaims": "string",
  "tracestate": "string",
  "traceparent": "string",
  "data": {
    "total": 42,
    "dataVolume": {
      "unit": "string",
      "volume": 42,
      "localVolume": 42,
      "externalVolume": 42,
      "consumptionType": "string"
    },
    "globalConsumption": 42,
    "globalConsumptionUnit": "byte",
    "totalLocalConsumption": 42,
    "licenseHighWatermarkWithinMonth": 42,
    "licenseHighWatermarkWithinMonthUnit": "byte"
  },
  "tenantid": "string"
}
```


### com.qlik.license.definition.updated

**Title:** Definition updated

**Action:** `send`

**Visibility:** `public`

**Stability:** `stable`

Event triggered when a license definition is updated.

**Payload**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | No | Unique identifier of the event. |
| `time` | `string` | No | Timestamp of when the event happened. Metadata: format = "date-time". |
| `type` | `string` | Yes | The event type identifier. Metadata: default = "com.qlik.license.definition.updated". |
| `source` | `string` | No | The source of the event. |
| `specversion` | `string` | No | CloudEvents spec version. Allowed values: 1.0. |
| `datacontenttype` | `string` | No | The content type of the event payload. Metadata: default = "application/json". |
| `authtype` | `string` | No | The type of principal that triggered the event. |
| `authclaims` | `string` | No | JSON string representing claims of the principal. |
| `tracestate` | `string` | No | A comma-delimited list of key-value pairs. |
| `traceparent` | `string` | No | Contains a version, trace ID, span ID, and trace options. |
| `data` | `object` | Yes |  |
| `userid` | `string` | No | Unique identifier of the user related to the event. |
| `tenantid` | `string` | Yes | Unique identifier of the tenant related to the event. |

<details>
<summary>Properties of `data`</summary>

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `license` | `string` | Yes | License number. |
| `parentLicense` | `string` | No | Parent license number. |
| `capabilityBankId` | `string` | No | Capability bank id. |

</details>


**Example**

```json
{
  "id": "string",
  "time": "2018-10-30T07:06:22Z",
  "type": "com.qlik.license.definition.updated",
  "source": "string",
  "specversion": "1.0",
  "datacontenttype": "application/json",
  "authtype": "string",
  "authclaims": "string",
  "tracestate": "string",
  "traceparent": "string",
  "data": {
    "license": "string",
    "parentLicense": "string",
    "capabilityBankId": "string"
  },
  "userid": "string",
  "tenantid": "string"
}
```


### com.qlik.v1.license.lease.created

**Title:** Lease created

**Action:** `send`

**Visibility:** `public`

**Stability:** `stable`

Event triggered when a lease is created.

**Payload**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | No | Unique identifier of the event. |
| `time` | `string` | No | Timestamp of when the event happened. Metadata: format = "date-time". |
| `type` | `string` | Yes | The event type identifier. Metadata: default = "com.qlik.v1.license.lease.created". |
| `source` | `string` | No | The source of the event. |
| `specversion` | `string` | No | CloudEvents spec version. Allowed values: 1.0. |
| `datacontenttype` | `string` | No | The content type of the event payload. Metadata: default = "application/json". |
| `authtype` | `string` | No | The type of principal that triggered the event. |
| `authclaims` | `string` | No | JSON string representing claims of the principal. |
| `tracestate` | `string` | No | A comma-delimited list of key-value pairs. |
| `traceparent` | `string` | No | Contains a version, trace ID, span ID, and trace options. |
| `data` | `object` | Yes |  |
| `userid` | `string` | No |  |
| `tenantid` | `string` | No |  |
| `sessionid` | `string` | No |  |

<details>
<summary>Properties of `data`</summary>

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | `string` | Yes |  |
| `size` | `integer` | Yes |  |
| `excess` | `boolean` | Yes |  |
| `license` | `string` | Yes |  |
| `resource` | `string` | Yes |  |
| `createdAt` | `string` | Yes | Metadata: format = "date-time". |
| `updatedAt` | `string` | Yes | Metadata: format = "date-time". |
| `excessQuantity` | `integer` | Yes | Metadata: format = int64. |
| `leasedQuantity` | `integer` | Yes | Metadata: format = int64. |
| `licenseQuantity` | `integer` | Yes | Metadata: format = int64. |
| `licenseUnlimited` | `boolean` | Yes |  |

</details>


**Example**

```json
{
  "id": "string",
  "time": "2018-10-30T07:06:22Z",
  "type": "com.qlik.v1.license.lease.created",
  "source": "string",
  "specversion": "1.0",
  "datacontenttype": "application/json",
  "authtype": "string",
  "authclaims": "string",
  "tracestate": "string",
  "traceparent": "string",
  "data": {
    "name": "amlDepModel1",
    "size": 4,
    "excess": true,
    "license": 1234123412341234,
    "resource": "amlDepModel",
    "createdAt": "2018-10-30T07:06:22Z",
    "updatedAt": "2018-10-30T07:06:22Z",
    "excessQuantity": 42,
    "leasedQuantity": 42,
    "licenseQuantity": 42,
    "licenseUnlimited": true
  },
  "userid": "string",
  "tenantid": "string",
  "sessionid": "string"
}
```


### com.qlik.v1.license.lease.deleted

**Title:** Lease deleted

**Action:** `send`

**Visibility:** `public`

**Stability:** `stable`

Event triggered when a lease is deleted.

**Payload**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | No | Unique identifier of the event. |
| `time` | `string` | No | Timestamp of when the event happened. Metadata: format = "date-time". |
| `type` | `string` | Yes | The event type identifier. Metadata: default = "com.qlik.v1.license.lease.deleted". |
| `source` | `string` | No | The source of the event. |
| `specversion` | `string` | No | CloudEvents spec version. Allowed values: 1.0. |
| `datacontenttype` | `string` | No | The content type of the event payload. Metadata: default = "application/json". |
| `authtype` | `string` | No | The type of principal that triggered the event. |
| `authclaims` | `string` | No | JSON string representing claims of the principal. |
| `tracestate` | `string` | No | A comma-delimited list of key-value pairs. |
| `traceparent` | `string` | No | Contains a version, trace ID, span ID, and trace options. |
| `data` | `object` | Yes |  |
| `userid` | `string` | No |  |
| `tenantid` | `string` | No |  |
| `sessionid` | `string` | No |  |

<details>
<summary>Properties of `data`</summary>

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | `string` | Yes |  |
| `size` | `integer` | Yes |  |
| `excess` | `boolean` | Yes |  |
| `license` | `string` | Yes |  |
| `resource` | `string` | Yes |  |
| `createdAt` | `string` | Yes | Metadata: format = "date-time". |
| `updatedAt` | `string` | Yes | Metadata: format = "date-time". |
| `excessQuantity` | `integer` | Yes | Metadata: format = int64. |
| `leasedQuantity` | `integer` | Yes | Metadata: format = int64. |
| `licenseQuantity` | `integer` | Yes | Metadata: format = int64. |
| `licenseUnlimited` | `boolean` | Yes |  |

</details>


**Example**

```json
{
  "id": "string",
  "time": "2018-10-30T07:06:22Z",
  "type": "com.qlik.v1.license.lease.deleted",
  "source": "string",
  "specversion": "1.0",
  "datacontenttype": "application/json",
  "authtype": "string",
  "authclaims": "string",
  "tracestate": "string",
  "traceparent": "string",
  "data": {
    "name": "amlDepModel1",
    "size": 4,
    "excess": true,
    "license": 1234123412341234,
    "resource": "amlDepModel",
    "createdAt": "2018-10-30T07:06:22Z",
    "updatedAt": "2018-10-30T07:06:22Z",
    "excessQuantity": 42,
    "leasedQuantity": 42,
    "licenseQuantity": 42,
    "licenseUnlimited": true
  },
  "userid": "string",
  "tenantid": "string",
  "sessionid": "string"
}
```


### com.qlik.v1.license.lease.updated

**Title:** Lease updated

**Action:** `send`

**Visibility:** `public`

**Stability:** `stable`

Event triggered when a lease is updated.

**Payload**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | No | Unique identifier of the event. |
| `time` | `string` | No | Timestamp of when the event happened. Metadata: format = "date-time". |
| `type` | `string` | Yes | The event type identifier. Metadata: default = "com.qlik.v1.license.lease.updated". |
| `source` | `string` | No | The source of the event. |
| `specversion` | `string` | No | CloudEvents spec version. Allowed values: 1.0. |
| `datacontenttype` | `string` | No | The content type of the event payload. Metadata: default = "application/json". |
| `authtype` | `string` | No | The type of principal that triggered the event. |
| `authclaims` | `string` | No | JSON string representing claims of the principal. |
| `tracestate` | `string` | No | A comma-delimited list of key-value pairs. |
| `traceparent` | `string` | No | Contains a version, trace ID, span ID, and trace options. |
| `data` | `object` | Yes |  |
| `userid` | `string` | No |  |
| `tenantid` | `string` | No |  |
| `sessionid` | `string` | No |  |

<details>
<summary>Properties of `data`</summary>

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | `string` | Yes |  |
| `size` | `integer` | Yes |  |
| `excess` | `boolean` | Yes |  |
| `license` | `string` | Yes |  |
| `_updates` | `object[]` | No |  |
| `resource` | `string` | Yes |  |
| `createdAt` | `string` | Yes | Metadata: format = "date-time". |
| `updatedAt` | `string` | Yes | Metadata: format = "date-time". |
| `excessQuantity` | `integer` | Yes | Metadata: format = int64. |
| `leasedQuantity` | `integer` | Yes | Metadata: format = int64. |
| `licenseQuantity` | `integer` | Yes | Metadata: format = int64. |
| `licenseUnlimited` | `boolean` | Yes |  |

<details>
<summary>Properties of `_updates`</summary>

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `path` | `string` | Yes |  |
| `newValue` | `` | Yes |  |
| `oldValue` | `` | Yes |  |

</details>

</details>


**Example**

```json
{
  "id": "string",
  "time": "2018-10-30T07:06:22Z",
  "type": "com.qlik.v1.license.lease.updated",
  "source": "string",
  "specversion": "1.0",
  "datacontenttype": "application/json",
  "authtype": "string",
  "authclaims": "string",
  "tracestate": "string",
  "traceparent": "string",
  "data": {
    "name": "amlDepModel1",
    "size": 4,
    "excess": true,
    "license": 1234123412341234,
    "_updates": [
      {
        "path": "string"
      }
    ],
    "resource": "amlDepModel1",
    "createdAt": "2018-10-30T07:06:22Z",
    "updatedAt": "2018-10-30T07:06:22Z",
    "excessQuantity": 42,
    "leasedQuantity": 42,
    "licenseQuantity": 42,
    "licenseUnlimited": true
  },
  "userid": "string",
  "tenantid": "string",
  "sessionid": "string"
}
```


### com.qlik.v1.license.tenant.associated

**Title:** Tenant associated

**Action:** `send`

**Visibility:** `public`

**Stability:** `stable`

Event triggered when a tenant gets associated to a license.

**Payload**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | No | Unique identifier of the event. |
| `time` | `string` | No | Timestamp of when the event happened. Metadata: format = "date-time". |
| `type` | `string` | Yes | The event type identifier. Metadata: default = "com.qlik.v1.license.tenant.associated". |
| `source` | `string` | No | The source of the event. |
| `specversion` | `string` | No | CloudEvents spec version. Allowed values: 1.0. |
| `datacontenttype` | `string` | No | The content type of the event payload. Metadata: default = "application/json". |
| `authtype` | `string` | No | The type of principal that triggered the event. |
| `authclaims` | `string` | No | JSON string representing claims of the principal. |
| `tracestate` | `string` | No | A comma-delimited list of key-value pairs. |
| `traceparent` | `string` | No | Contains a version, trace ID, span ID, and trace options. |
| `data` | `object` | Yes |  |
| `userid` | `string` | No |  |
| `tenantid` | `string` | Yes |  |

<details>
<summary>Properties of `data`</summary>

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `license` | `string` | Yes |  |
| `parentLicense` | `string` | Yes |  |
| `previousLicense` | `string` | No |  |
| `capabilityBankId` | `string` | No |  |
| `previousParentLicense` | `string` | No |  |

</details>


**Example**

```json
{
  "id": "string",
  "time": "2018-10-30T07:06:22Z",
  "type": "com.qlik.v1.license.tenant.associated",
  "source": "string",
  "specversion": "1.0",
  "datacontenttype": "application/json",
  "authtype": "string",
  "authclaims": "string",
  "tracestate": "string",
  "traceparent": "string",
  "data": {
    "license": "string",
    "parentLicense": "string",
    "previousLicense": "string",
    "capabilityBankId": "string",
    "previousParentLicense": "string"
  },
  "userid": "string",
  "tenantid": "string"
}
```


## Schemas

### assignmentDeleted

**Type:** `object`

**Properties**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `data` | `object` | Yes |  |
| `tenantid` | `string` | No | Unique identifier of the tenant related to the event. |
| `sessionid` | `string` | No | Unique identifier of the session related to the event. |

<details>
<summary>Properties of `data`</summary>

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `type` | `string` | Yes | Assignment type. |
| `origin` | `string` | Yes | event origin:   * `internal` - API triggered   * `external` - triggered by a sync operation  Allowed values: internal \| external. |
| `license` | `string` | Yes | License number. |
| `subject` | `string` | Yes | Subject of the user assigned access. |

</details>



### assignmentRejected

**Type:** `object`

**Properties**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `data` | `object` | Yes |  |
| `tenantid` | `string` | No | Unique identifier of the tenant related to the event. |
| `sessionid` | `string` | No | Unique identifier of the session related to the event. |

<details>
<summary>Properties of `data`</summary>

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `type` | `string` | Yes | Assignment type. |
| `origin` | `string` | Yes | event origin:   * `internal` - API triggered   * `external` - triggered by a sync operation  Allowed values: internal \| external. |
| `license` | `string` | Yes | License number. |
| `message` | `string` | No | Message about why the assignment was rejected. |
| `subject` | `string` | Yes | Subject of the user assigned access. |

</details>



### assignmentUpdated

**Type:** `object`

**Properties**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `data` | `object` | Yes |  |
| `tenantid` | `string` | No | Unique identifier of the tenant related to the event. |
| `sessionid` | `string` | No | Unique identifier of the session related to the event. |

<details>
<summary>Properties of `data`</summary>

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `type` | `string` | Yes | Assignment type (e.g. 'analyzer_time', 'professional', etc.). |
| `origin` | `string` | Yes | event origin:   * `internal` - API triggered   * `external` - triggered by a sync operation  Allowed values: internal \| external. |
| `license` | `string` | Yes | License number. |
| `subject` | `string` | Yes | Subject of the user assigned access. |

</details>



### cloudEventsAttributes

**Type:** `object`

**Properties**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | No | Unique identifier of the event. |
| `time` | `string` | No | Timestamp of when the event happened. Metadata: format = "date-time". |
| `type` | `string` | No | Type of the event. |
| `source` | `string` | No | The source of the event. |
| `specversion` | `string` | No | CloudEvents spec version. Allowed values: 1.0. |
| `datacontenttype` | `string` | No | The content type of the event payload. Metadata: default = "application/json". |



### cloudEventsQlikCommonAttributes

**Type:** `object`

**Properties**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `authtype` | `string` | No | The type of principal that triggered the event. |
| `authclaims` | `string` | No | JSON string representing claims of the principal. |
| `tracestate` | `string` | No | A comma-delimited list of key-value pairs. |
| `traceparent` | `string` | No | Contains a version, trace ID, span ID, and trace options. |



### dataVolume

**Type:** `object`

**Properties**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `unit` | `string` | Yes |  |
| `volume` | `integer` | No | Metadata: format = int64. |
| `localVolume` | `integer` | Yes | Metadata: format = int64. |
| `externalVolume` | `integer` | Yes | Metadata: format = int64. |
| `consumptionType` | `string` | Yes |  |



### dataVolumeConsumptionAggregated

**Type:** `object`

**Properties**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `data` | `object` | Yes |  |
| `tenantid` | `string` | No | Unique identifier of the tenant related to the event. |

<details>
<summary>Properties of `data`</summary>

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `total` | `integer` | No | Metadata: format = int64. |
| `dataVolume` | `dataVolume` | Yes |  |
| `globalConsumption` | `integer` | No | Metadata: format = int64. |
| `globalConsumptionUnit` | `string` | No |  |
| `totalLocalConsumption` | `integer` | Yes | Metadata: format = int64. |
| `licenseHighWatermarkWithinMonth` | `integer` | No | Metadata: format = int64. |
| `licenseHighWatermarkWithinMonthUnit` | `string` | No |  |

<details>
<summary>Properties of `dataVolume`</summary>

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `unit` | `string` | Yes |  |
| `volume` | `integer` | No | Metadata: format = int64. |
| `localVolume` | `integer` | Yes | Metadata: format = int64. |
| `externalVolume` | `integer` | Yes | Metadata: format = int64. |
| `consumptionType` | `string` | Yes |  |

</details>

</details>



### definitionUpdated

**Type:** `object`

**Properties**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `data` | `object` | Yes |  |
| `userid` | `string` | No | Unique identifier of the user related to the event. |
| `tenantid` | `string` | Yes | Unique identifier of the tenant related to the event. |

<details>
<summary>Properties of `data`</summary>

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `license` | `string` | Yes | License number. |
| `parentLicense` | `string` | No | Parent license number. |
| `capabilityBankId` | `string` | No | Capability bank id. |

</details>



### leaseCreated

**Type:** `object`

**Properties**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `data` | `object` | Yes |  |
| `userid` | `string` | No |  |
| `tenantid` | `string` | No |  |
| `sessionid` | `string` | No |  |

<details>
<summary>Properties of `data`</summary>

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | `string` | Yes |  |
| `size` | `integer` | Yes |  |
| `excess` | `boolean` | Yes |  |
| `license` | `string` | Yes |  |
| `resource` | `string` | Yes |  |
| `createdAt` | `string` | Yes | Metadata: format = "date-time". |
| `updatedAt` | `string` | Yes | Metadata: format = "date-time". |
| `excessQuantity` | `integer` | Yes | Metadata: format = int64. |
| `leasedQuantity` | `integer` | Yes | Metadata: format = int64. |
| `licenseQuantity` | `integer` | Yes | Metadata: format = int64. |
| `licenseUnlimited` | `boolean` | Yes |  |

</details>



### leaseDeleted

**Type:** `object`

**Properties**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `data` | `object` | Yes |  |
| `userid` | `string` | No |  |
| `tenantid` | `string` | No |  |
| `sessionid` | `string` | No |  |

<details>
<summary>Properties of `data`</summary>

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | `string` | Yes |  |
| `size` | `integer` | Yes |  |
| `excess` | `boolean` | Yes |  |
| `license` | `string` | Yes |  |
| `resource` | `string` | Yes |  |
| `createdAt` | `string` | Yes | Metadata: format = "date-time". |
| `updatedAt` | `string` | Yes | Metadata: format = "date-time". |
| `excessQuantity` | `integer` | Yes | Metadata: format = int64. |
| `leasedQuantity` | `integer` | Yes | Metadata: format = int64. |
| `licenseQuantity` | `integer` | Yes | Metadata: format = int64. |
| `licenseUnlimited` | `boolean` | Yes |  |

</details>



### leaseUpdated

**Type:** `object`

**Properties**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `data` | `object` | Yes |  |
| `userid` | `string` | No |  |
| `tenantid` | `string` | No |  |
| `sessionid` | `string` | No |  |

<details>
<summary>Properties of `data`</summary>

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | `string` | Yes |  |
| `size` | `integer` | Yes |  |
| `excess` | `boolean` | Yes |  |
| `license` | `string` | Yes |  |
| `_updates` | `object[]` | No |  |
| `resource` | `string` | Yes |  |
| `createdAt` | `string` | Yes | Metadata: format = "date-time". |
| `updatedAt` | `string` | Yes | Metadata: format = "date-time". |
| `excessQuantity` | `integer` | Yes | Metadata: format = int64. |
| `leasedQuantity` | `integer` | Yes | Metadata: format = int64. |
| `licenseQuantity` | `integer` | Yes | Metadata: format = int64. |
| `licenseUnlimited` | `boolean` | Yes |  |

<details>
<summary>Properties of `_updates`</summary>

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `path` | `string` | Yes |  |
| `newValue` | `` | Yes |  |
| `oldValue` | `` | Yes |  |

</details>

</details>



### TenantAssociated

**Type:** `object`

**Properties**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `data` | `object` | Yes |  |
| `userid` | `string` | No |  |
| `tenantid` | `string` | Yes |  |

<details>
<summary>Properties of `data`</summary>

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `license` | `string` | Yes |  |
| `parentLicense` | `string` | Yes |  |
| `previousLicense` | `string` | No |  |
| `capabilityBankId` | `string` | No |  |
| `previousParentLicense` | `string` | No |  |

</details>


