Skip to main content

Hello,


I am using the Audit Log API to track the timestamp of when a user’s role has been changed. The response can be filtered by user_id which is the id of the admin who made the change. Is there any way to filter out the response by affected_user_id (the user who’s role was changed)?


If not, is it at all possible to, given a user, get the timestamp(s) of when their role was changed by an admin


Thank you

Hello there @edhadgu,


Currently, there is no way to filter by the affected user in that scenario.


You will need to check the entire logs and look for the “user-deactivated” event to check that information. It has the timestamp of the change 😁


Cheers,

Matias


Reply