User Deletion

The User Creation Event is used to notify when a user is deleted in the system.

Event Type: USER_DELETE

Trigger Condition

Subscription to the USER_DELETE event is mandatory. This event is triggered in real-time when a user is deleted in the system.

Example Payload

{
  "eventInfo": {
    "userTypeId": 3,
    "actionBy": "060b46ff-8743-11e7-a9c6-77fb7b8afa1b",
    "userTypeName": "web admin",
    "isDriver": false
  },
  "messageType": "USER_DELETE",
  "entityName": "Test User1",
  "customerId": 5134,
  "action": "Delete",
  "entityId": "8a94d759-6758-2a5b-0195-a8bf8e7505f9",
  "time": 1742292908488
}

Reference

FieldDescription
eventInfo
JSONObject
actionBy
String,UUID
userTypeId
Integer
userTypeName
String
isDriver
Boolean
actionBy: The unique Azuga ID of the user who performed the action
Example: 060b46ff-28c5-11e7-a9c6-77fb7b8afa1b

userTypeId: ID of the user type deleted, 3 - web admin
Example: 3

userTypeName: Name of the user type deleted
Example: web admin
messageType
String
Type of message
Example: "USER_DELETE"
entityName
String
Name of the user deleted
Example: Test User1
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 user. This is automatically generated when the user object is deleted and cannot be altered.
Example: 1d28138b-3679-11ef-b858-9f09b511d93a
time
Time Stamp
Time when user is deleted in ms
Example: 1732135845682