# API for changing category groups

**URL:** <https://meta.discourse.org/t/api-for-changing-category-groups/99857>\
**Category:** Development\
**Created:** [October 18, 2018, 11:59am UTC](https://meta.discourse.org/t/api-for-changing-category-groups/99857 "2018-10-18T11:59:46Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![slim](https://avatars.discourse-cdn.com/v4/letter/s/b5e925/32.png) [@slim](https://meta.discourse.org/u/slim)\
**Post date:** [July 19, 2020, 6:41pm UTC](https://meta.discourse.org/t/api-for-changing-category-groups/99857/17 "2020-07-19T18:41:56Z")

</div>

Hi @Edwin_Silva and @mikechristopher

I’m trying to apply the lessons here, but failing.  
In my case, instead of CREATING a category with group access, I’m ADDING a group to an EXISTING category.

When I apply the lessons above, I get an error saying that the subcategories don’t have access to their parent category.

If I specify a permissions[group\_name] for every single group name that the category already has, then I don’t get an error. So I at least know what the problem is. It think I’m setting just one permission and removing the rest.

Now I’m wondering if it’s possible to just add ONE new group permission without having to set the entire permission set.

Would you be willing to help?

slim

---

_[View the full topic](https://meta.discourse.org/t/api-for-changing-category-groups/99857)._
