Role Updation
The ROLE_UPDATE event is used to notify when a role is updated in the system. Once the role is updated, the event data will be published to the subscribed webhook.
Event Type: ROLE_UPDATE
Trigger Condition
Subscription to the ROLE_UPDATE event is mandatory. This event is triggered in real-time when a role is updated in the system.
Example Payload
{
"eventInfo": {
"actionBy": "060b46ff-3423-2312-a9c6-77fb7b8afa1b"
},
"messageType": "ROLE_UPDATE",
"entityName": "test role1",
"customerId": 5134,
"action": "Update",
"entityId": "b07eb029-3123-3231-a86a-850ba600036a",
"time": 1742291378737
}
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 updated and cannot be altered.
Example: |
time | Time when event is created in milliseconds
Example: |
Updated 4 days ago