Driver Deletion
The DRIVER_DELETE event is used to notify when a driver is deleted from an account. It provides real-time updates on driver deactivation and records management.
Event Type: DRIVER_DELETE
Trigger Condition
Subscription to the DRIVER_DELETE event is mandatory. This event is triggered in real-time when a driver is deleted.
Example Payload
{
"eventInfo": {
"userTypeId": 4,
"actionBy": "8a9388a9-8966-d904-0189-8804328228bc",
"userTypeName": "driver",
"isDriver": true
},
"messageType": "DRIVER_DELETE",
"entityName": "FirstName_18630 LastName_18630",
"customerId": 22700,
"action": "Delete",
"entityId": "8a9388a9-8ebc-0b1b-018e-cf076eb965d0",
"time": 1741028997267
}
Reference
Field | Description |
---|---|
eventInfo | The unique Azuga ID of the user who performed the action
Example: |
messageType | Type of message |
entityName | Name of driver
Example: |
customerId | The unique Azuga ID of the Customer |
action | Action Performed
Example: |
entityId | The unique Azuga ID of the Driver. This is automatically generated when the driver object is deleted and cannot be altered.
Example: |
time | Time when event is created in milliseconds
Example: |
Updated 5 days ago