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
Field | Description |
---|---|
eventInfo | actionBy: The unique Azuga ID of the user who performed the action
Example: |
messageType | Type of message |
entityName | Name of the user deleted
Example: |
customerId | The unique Azuga ID of the Customer |
action | Action Performed
Example: |
entityId | The unique Azuga ID of the user. This is automatically generated when the user object is deleted and cannot be altered.
Example: |
time | Time when user is deleted in milliseconds
Example: |
Updated 5 days ago