# Bulk add to Group limitations

**URL:** <https://meta.discourse.org/t/bulk-add-to-group-limitations/73626>\
**Category:** Product Support\
**Created:** [Novembre 7, 2017, 7:35 UTC](https://meta.discourse.org/t/bulk-add-to-group-limitations/73626 "2017-11-07T19:35:57Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![kmg-yrabelo](https://avatars.discourse-cdn.com/v4/letter/k/87869e/32.png) [@kmg-yrabelo](https://meta.discourse.org/u/kmg-yrabelo)\
**Post date:** [Novembre 9, 2017, 5:45 UTC](https://meta.discourse.org/t/bulk-add-to-group-limitations/73626/14 "2017-11-09T17:45:28Z")

</div>

@simon

That will do the trick for me. What sort of data can I pass to $params[‘add\_groups’] ?

Can I do any of these?

`$params['add_groups'] = 'free';`

`$params['add_groups'] = array( 'free', 'premium' );`

```
// Discourse Group IDs
$params['add_groups'] = array( 2, 3 );

```

Thank you.

---

_[View the full topic](https://meta.discourse.org/t/bulk-add-to-group-limitations/73626)._
