Create Audit Event
Body
The ‘actor’ parameter refers to who performs the action, which can be a user or a system. If the action is performed by the system, there is no need to send the name, email, internal_id and you can send only the description parameter to describe the system (ex: Cron update prices)
The ‘action’ parameter refers to the action performed, such as ‘settings.updated’, ‘email.sending’ or ‘has change admin password’, etc.
You can send whatever you need within this object. For example, you can attach an object with the old data and another with the changes made to the data.
It corresponds to a unique identifier of your application to which the audit event will be associated. For example, if your application manages workspaces, you can send the workspace ID. Then, when you incorporate our log audit table into your application, you will be able to perform specific workspace filtering.
tag list ex: [“production, “team-admin”, ”…”]