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