In my organization , we want to filter users who has not logged in for last 30 days.
Can I use query=lastLoginTime<2022-03-15 in google admin sdk api.
I am using this api https://admin.googleapis.com/admin/directory/v1/users?query=lastLoginTime<2022-03-15
Or is there any other api which return the expected result.
Thanks,
I am afraid it is not possible at the moment. This is the list of query parameters you can use with that method so far:
You can find additional info of each parameter in the official documentation here.
In addition to that you can request this as a feature for this API here.