# Groups API - manually syncing group membership?

**URL:** <https://meta.discourse.org/t/groups-api-manually-syncing-group-membership/154521>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [June 11, 2020, 1:15pm UTC](https://meta.discourse.org/t/groups-api-manually-syncing-group-membership/154521 "2020-06-11T13:15:24Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Judith](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/judith/32/289903_2.png) [@Judith](https://meta.discourse.org/u/Judith)\
**Post date:** [June 15, 2020, 4:36pm UTC](https://meta.discourse.org/t/groups-api-manually-syncing-group-membership/154521/7 "2020-06-15T16:36:48Z")

</div>

At first I was only using SSO, but then I ran into the problem that it only updates group membership when people log in. In the case of people not being re-elected, or otherwise losing the right to access a group, or gaining the right to access a group (and should receive email notifications for messages in the restricted group subforum), I need to add/remove them via the API.

---

_[View the full topic](https://meta.discourse.org/t/groups-api-manually-syncing-group-membership/154521)._
