Yammer API Find Pending Users -


is possible find list of yammer users in 'pending' state using api? (we have growing list of old invites need purged regularly)

tried number of options:

the find users endpoint, paging 50 per page seems return 'active' users (scanned 100+ pages). https://www.yammer.com/api/v1/users.json

the find email endpoint returns user states, although requires knowing email.

the export users api endpoint produces .zip file

pending users added mentionable: https://about.yammer.com/yammer-blog/mentioning-pending-users-designing-building-testing-features-yammer should recent change have made pending users visible via users.json endpoint ?

i know pending users can identified in manual user.csv extract having no join date, no deletion , no suspended date, although how can identified via api? users.json seems not provide functionality.

has been able automate deletion of pending users in yammer via api?

you can use data export api. extract users.csv zip file using code , filter pending users. pending users not have joined_at, suspended_at, or deleted_at date.

note: if intended "remove" pending user, must always check if email address has active user associated. email address can show multiple times in users.csv. when remove user suspend user because can undone.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -