Role Deletion
The ROLE_DELETE event is used to notify when a role is deleted in the system. Once the role deletion occurs, the event data will be published to the subscribed webhook.
Event Type: ROLE_DELETE
Trigger Condition
Subscription to the ROLE_DELETE event is mandatory. This event is triggered in real-time when a role is deleted in the system.
Example Payload
{
"eventInfo": {
"actionBy": "060b46ff-1111-2222-a9c6-77fb7b8afa1b"
},
"messageType": "ROLE_DELETE",
"entityName": "test role1",
"customerId": 5134,
"action": "Delete",
"entityId": "baad8416-2123-2341-4523-4b21205e56fd",
"time": 1742291321913
}
Reference
Field | Description |
---|---|
eventInfo | The unique Azuga ID of the user who performed the action
Example: |
messageType | Type of message |
entityName | Name of the role
Example: |
customerId | The unique Azuga ID of the Customer |
action | Action Performed
Example: |
entityId | The unique Azuga ID of the role. This is automatically generated when the role object is deleted and cannot be altered.
Example: |
time | Time when event is created in milliseconds
Example: |
Updated 5 days ago