Role Update
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 Name: 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 JSONObject actionBy String,UUID | The unique Azuga ID of the user who performed the action Example: 060b46ff-28c5-11e7-a9c6-77fb7b8afa1b |
messageType String | Type of message Example: "ROLE_UPDATE" |
entityName String | Name of the role Example: test role1 |
customerId Long | The unique Azuga ID of the Customer Example: 5134 |
action String | Action Performed Example: Update |
entityId String,UUID | The unique Azuga ID of the role. This is automatically generated when the role object is updated and cannot be altered. Example: baad8416-03db-11f0-9f57-4b21205e56fd |
time Time Stamp | Time when event is created in ms Example: 1742290271380 |
Updated 3 days ago