# Add ACLgroup to consumers

**URL:** <https://discuss.konghq.com/t/add-aclgroup-to-consumers/959>\
**Category:** Questions\
**Created:** [May 9, 2018, 12:39pm UTC](https://discuss.konghq.com/t/add-aclgroup-to-consumers/959 "2018-05-09T12:39:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ismaelfre](https://avatars.discourse-cdn.com/v4/letter/i/85e7bf/32.png) [@ismaelfre](https://discuss.konghq.com/u/ismaelfre)\
**Post date:** [May 9, 2018, 12:39pm UTC](https://discuss.konghq.com/t/add-aclgroup-to-consumers/959/1 "2018-05-09T12:39:13Z")

</div>

Good afternoon, I need to add an ACL GROUP for the customers through the API.

Not the ACL plugin, this one I have correctly already.

---

<div class="post-metadata">

**Author:** ![jeremyjpj0916](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/jeremyjpj0916/32/1388_2.png) [@jeremyjpj0916](https://discuss.konghq.com/u/jeremyjpj0916)\
**Post date:** [May 10, 2018, 5:20am UTC](https://discuss.konghq.com/t/add-aclgroup-to-consumers/959/2 "2018-05-10T05:20:09Z")

</div>

Straight from the docs:  
[https://getkong.org/plugins/acl/?\_ga=2.129563525.843062076.1525928689-1283868755.1523542441](https://getkong.org/plugins/acl/?_ga=2.129563525.843062076.1525928689-1283868755.1523542441)

$ curl -X POST [http://kong:8001/consumers/{consumer}/acls](http://kong:8001/consumers/%7Bconsumer%7D/acls) --data “group=group1”

Where {consumer} is the id or username property of the Consumer entity
