11-14-2016 03:28 AM
11-14-2016 03:28 AM
Hi All,
Is there a way to delete a bunch of members from groups?
The same as import members using a CSV file, only reversed?
Thanks
11-14-2016 11:00 AM
I don't believe there to be in the browser.... there is only delete users in bulk, but not from group.
There is a possibility in the API.
https://developer.yammer.com/docs/group_membershipsjsongroup_idid-1
I found it easiest for these things to be done in PowerShell...
11-16-2016 09:15 AM - edited 11-16-2016 09:18 AM
That particular API will only remove the person running the API to be removed from the group. To do it as an admin, try this (credit to @Benjamin Elias:(
POST https://www.yammer.com/api/v1/group_memberships
with parameters: group_id="nn", user_id="uu", _method="DELETE" (note the underscore). It will also need the usual API header.
11-28-2016 09:00 AM