Unfortunately, no, there is no field in the API that displays "last login" or "last association date" for merakiAuthUsers. The only dates you get are "createdAt" and "expiresAt" (if set; in your example, it says "Never"). Therefore, you can't determine the last activity directly through the current Meraki API. You can check client association events in the dashboard (through the Events API or Syslog), but the Meraki Events API doesn't currently provide a "last access" date per user account, only per device (client MAC). And yes, you can automate it, but since there's no "last login" field, you'll have to rely on createdAt or some external data source, and you'll obviously need to schedule it to run on a system, like a Linux crontab.
... View more