User-Role Events
These are the event raised by the /api/user-roles endpoint.
bolt/user-role-created
This event is raised when a user-role association is created.
event object
A standard Bolt event.
{
"name": String, //the name of the event, in this case 'user-role-created'
"publisher": String, //the name of the app that published, in this case 'bolt'
"body": Object //an object representing the user-role that has just been created
}
bolt/user-role-deleted
This event is raised when an user-role association is deleted.
event object
A standard Bolt event.
{
"name": String, //the name of the event, in this case 'user-role-deleted'
"publisher": String, //the name of the app that published, in this case 'bolt'
"body": Object //an object representing the user-role that has just been deleted
}