DeviceConnectionDeleted
Emitted when a device's socket connection goes offline.
Payload
| Field | Type | Required | Description |
|---|---|---|---|
deviceIdentityHash | string | ✅ | Server-generated unique identifier of the device, used as the public-facing identifier in the REST API. |
owner | object | ✅ | Ownership envelope identifying the company or organization that owns this event. |
owner.ownershipType | "organization" (literal) | ✅ | Discriminator for the ownership envelope; always organization for these events. |
owner.organizationUid | string | ✅ | UID of the organization that owns the event. |
owner.parentCompanyUid | string | ✅ | UID of the owning organization's parent company. |
type | "Device.DeviceConnectionDeleted" (literal) | ✅ | Fully-qualified event type discriminator (e.g. Device.DeviceConnectionAdded). |
connectionUid | string | ✅ | Unique identifier of the connection record. |
serverInstanceUid | string | ✅ | Identifier of the server instance handling the device connection. |
Example
{
"id": "string",
"kind": "telemetry",
"type": "Device.DeviceConnectionDeleted",
"payload": {
"deviceIdentityHash": "e1d32d7dxxxxxxxxxxxxxxxxca388dc9",
"owner": {
"ownershipType": "organization",
"organizationUid": "02773677xxxxxxxxxxxxxxxx0c287b29",
"parentCompanyUid": "55f6f6faxxxxxxxxxxxxxxxx35c4a9da"
},
"type": "Device.DeviceConnectionDeleted",
"connectionUid": "adc5466bxxxxxxxxxxxxxxxxc18eae0e",
"serverInstanceUid": "d9f027fcxxxxxxxxxxxxxxxxc5f7ed22"
}
}
Shape
{
"id": "string",
"kind": "telemetry",
"type": "Device.DeviceConnectionDeleted",
"payload": {
"deviceIdentityHash": "string",
"owner": {
"ownershipType": "organization",
"organizationUid": "string",
"parentCompanyUid": "string"
},
"type": "Device.DeviceConnectionDeleted",
"connectionUid": "string",
"serverInstanceUid": "string"
}
}