Skip to main content

Hi,

 

Is it possible to get a member or non-team member’s LastActivity datetime from the API?

 

If not is it one the roadmap and is there a scheduled release date?

 

many thanks

Hi richardw, 

User's LastActivity datetime is not supported currently by the API and it’s not in the plan to add it. 

 

Is there any specific use case you planned to use this for? 

 

Thanks,

Sultan


Is there any specific use case you planned to use this for? 

Hey,

 

A great use case for this would be pruning inactive Full accounts by switching them to Non-Team members. 

Thanks


Is there any specific use case you planned to use this for? 

Hey,

 

A great use case for this would be pruning inactive Full accounts by switching them to Non-Team members. 

Thanks

@Sultan We have a similar requirement. For example, we could remove inactive users so that they don’t consume any license. To do this manually would be tiresome and repetitive. If we get the last activity date, we can easily label a user as inactive by setting rules (last activity > 60 days for example). This could be really helpful. Any ETA on this? 


Agreed! Please add each user’s last login and/or last activity to the User object and the SCIM object. This is required for automatic recovery of idle licensees, and is part of any SCIM strategy.


Adding my vote to the above. It is vital for our enterprise account.


We got tired of dealing with this, therefore we have the following:

  • check Full users weekly
  • get their miro email
  • make API call with to the IdP and query the last time user logged in to the Miro (this is a tricky one as activity doesn’t necessarily equals user logins)
  • send user message on Slack saying something like “it seems there’s no activity on your account, please confirm”
  • if user doesn’t confirm within 72 hrs, record is cached in DB and ticket for changing license to free restricted is made.

Obviously, we thought about deactivating as an easy step, but users went mental. And changing user license type using SCIM isn’t supported…

Still adding my vote


Dawid, thanks for explaining your process. Makes sense. We will take a tougher approach and deactivate the least active users once a month to free up licenses for those who really need them.


btw Matt, what is your approach to license eligibility? Do you provide those to anyone or selected depts/roles?


After much debate, we agreed to prioritise employees over contractors and consultants. License approval is via ServiceNow request and requires manager approval. When no licenses are available, they can reapply later and try again. It’s nowhere near perfect but we simply couldn’t cut some teams and not others.


Sure, makes sense Matt. Thx! :muscle:


When you manually download Active Users from the Console the CSV-file contains BOTH the ‘Last Activity’ and the ‘Last Login’ date. 
So, there *must* be a hidden API for getting the ‘Last Login Date’ for the Organization Members.

When you use the https://api.miro.com/v2/orgs/{orig_id}/members API you only get the ‘Last Actvity’ and not the ‘Last Login’.

Enterprise Customers need this data in order to automatically de-provision access and licenses for Miro!

Please include the ‘Last Login’ date on the above API.

 


Reply