Skip to main content

DeviceConnectionDeleted

Emitted when a device's socket connection goes offline.

Payload

FieldTypeRequiredDescription
deviceIdentityHashstringServer-generated unique identifier of the device, used as the public-facing identifier in the REST API.
ownerobjectOwnership 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.organizationUidstringUID of the organization that owns the event.
owner.parentCompanyUidstringUID of the owning organization's parent company.
type"Device.DeviceConnectionDeleted" (literal)Fully-qualified event type discriminator (e.g. Device.DeviceConnectionAdded).
connectionUidstringUnique identifier of the connection record.
serverInstanceUidstringIdentifier 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"
}
}