Get API Key only for adding/removing users from a group

Hey,

I want to create a simple script to add a user to an existing group inside my Discourse instance. According to the docs this is done with the /groups endpoint.

However when creating an API key I can’t specify a scope to only include that endpoint. How can I create an API key which only has the permissions to add/remove users from a group?

See Granular API key restriction missing a lot of endpoints - #2 by pfaffman.

Seems like the same question? (You were probably first)