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
JSONObject

The unique Azuga ID of the user who performed the action Example: 15236e28-1111-11e6-9bb5-a7cf79cf4150 ID of the user type deleted, 4- driver Example: 4 Name of the user type deleted Example: driver

messageType
String

Type of message
Example: "DRIVER_DELETE"

entityName
String

Name of driver Example: test driver001

customerId
Long

The unique Azuga ID of the Customer
Example:26111

action
String

Action Performed Example: Delete

entityId
String,UUID

The unique Azuga ID of the Driver. This is automatically generated when the driver object is deleted and cannot be altered. Example: 1d28138b-3679-11ef-b858-9f09b511d93a

time
Time Stamp

Time when event is created in milliseconds Example: 1732135845682