Site audit log via api.

27192

Hi, I can see this question was asked a couple of years ago but no response so I'm presuming not.  Is there an Audit API to get audit details of a site?  What I want to be able to do is use the API to check each site to see if an external user has accessed in a given period of time.  This info is in the audit log but can't see a way to access via the api.  Thanks.

Parents
  • I've found another way to do this by querying the /api/3/sites/{siteid}/users endpoint. From that I can get each user of the site, order by lastlogin, filtering out internal users and then just report back the lastlogin for an external user.

Reply
  • I've found another way to do this by querying the /api/3/sites/{siteid}/users endpoint. From that I can get each user of the site, order by lastlogin, filtering out internal users and then just report back the lastlogin for an external user.

Children
No Data