I have a bunch of private categories, each of which is seen only by members of a specific group for that category. I’d like a way for them to sign themselves up to those groups.
For example, when we run a conference, we want attendees of that event to receive access to a special category for that conference so they can exchange ideas privately.
Is there a way to give members of this group a special link to sign up or add themselves to their group? Not all of these groups have a common email domain. I’d like to give them, forum.com/signup/funevent/ and then when they’re signed up, they’re automatically assigned to that group so they have access.
/admin/groups.json will tell you the [group_id] of every group
To add a member to a group curl -X PUT -d usernames=username -d api_key=ApiKeyGoesHere -d api_username=ApiUsernameGoesHere https://yoursite.tld/admin/groups/[group_id]/members.json?
To delete a member from a group curl -X DELETE -d username=username -d api_key=ApiKeyGoesHere -d api_username=ApiUsernameGoesHere https://yoursite.tld/admin/groups/[group_id]/members.json?
Note that the PUT command accepts a comma separated list, but DELETE is one username at a time