# Is there a way to let people sign up to a group?

**URL:** <https://meta.discourse.org/t/is-there-a-way-to-let-people-sign-up-to-a-group/44430>\
**Category:** Product Support\
**Created:** [2016 年5 月 18 日 10:43 UTC](https://meta.discourse.org/t/is-there-a-way-to-let-people-sign-up-to-a-group/44430 "2016-05-18T10:43:19Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

作者： ![Tom\_Newsom](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tom_newsom/32/115981_2.png) [@Tom\_Newsom](https://meta.discourse.org/u/Tom_Newsom)\
发布日期： [2016 年5 月 18 日 14:53 UTC](https://meta.discourse.org/t/is-there-a-way-to-let-people-sign-up-to-a-group/44430/4 "2016-05-18T14:53:02Z")

</div>

Yes it’s possible.

1. `/admin/groups.json` will tell you the `[group_id]` of every group
2. 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?`
3. 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

---

_[View the full topic](https://meta.discourse.org/t/is-there-a-way-to-let-people-sign-up-to-a-group/44430)._
