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?
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).
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.