I am making a bot which syncs our SSO group information into Discourse when that information changes in our directory service. There is a granular API scope for user operations, but there doesn’t seem to be one for groups. Am I just overlooking it?
If I understand correctly you want an API scope for adding and removing users to groups. There is one for adding users and removing users.
Sorry, let expand. I know about those API endpoints. What I want is to generate an API key that had the permissions to do those things (and nothing else).
1 Like
I do not see an API endpoint to do that in the docs.
The docs do not really cover the API scopes. You can find them when you create a new API key on your site, and choose Scope: Granular.