WebhooksWorkers
Device Unlinked
Webhook payload sent when a worker is unlinked from a device.
This webhook is sent when a worker is unlinked from a device
[
{
"type": "worker",
"device_id":"AB930CCD-50A9-4ECA-8758-D7CB09058606",
"data": {
"value": "device_unlinked"
},
"recorded_at": "2024-11-28T12:45:00.000Z",
"location": {
"type": "Point",
"coordinates": [
77.643271,
12.94964
]
},
"worker_handle": "ram@123"
}
]| Name | Type | Mandatory | Description | |
|---|---|---|---|---|
| data.value | string | Yes | device_unlinked | |
| worker_handle | string | Yes | Unique Handle of the worker. | |
| device_id | string | Yes | Unique Identifier of the device which got unlinked from the worker | |
| location | GeoJSON | No | Location in [GeoJSON format] where device connected |