Skip to main content

[Audit Log API] How to filter role change event by affected_user_id

  • April 11, 2024
  • 1 reply
  • 98 views

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

1 reply

Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • April 15, 2024

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