Device Deletion
The DEVICE_DELETE event is used to notify when a device is removed from an account. It provides real-time updates on device deactivation and removal.
Event Type: DEVICE_DELETE
Trigger Condition
Subscription to the DEVICE_DELETE event is mandatory. This event is triggered in real-time when a device is deleted.
Example Payload
{
"eventInfo": {
"actionBy": null
},
"messageType": "DEVICE_DELETE",
"entityName": "5134513411",
"customerId": 5134,
"action": "Delete",
"entityId": "974d04f4-1223-1342-8eab-07be037fb876",
"time": 1742292425508
}
Reference
Field | Description |
---|---|
eventInfo | The unique Azuga ID of the user who performed the action
Example: |
messageType | Type of message |
entityName | Name of Device
Example: |
customerId | The unique Azuga ID of the Customer |
action | Action Performed
Example: |
entityId | The unique Azuga ID of the Device. This is automatically generated when the device object is deleted and cannot be altered.
Example: |
time | Time when event is created in milliseconds
Example: |
Updated 5 days ago