# Group\_permissions using api in python

**URL:** <https://meta.discourse.org/t/group-permissions-using-api-in-python/81813>\
**Category:** Product Support\
**Created:** [February 28, 2018, 7:04pm UTC](https://meta.discourse.org/t/group-permissions-using-api-in-python/81813 "2018-02-28T19:04:18Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mikechristopher](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikechristopher/32/89135_2.png) [@mikechristopher](https://meta.discourse.org/u/mikechristopher)\
**Post date:** [February 28, 2018, 7:18pm UTC](https://meta.discourse.org/t/group-permissions-using-api-in-python/81813/2 "2018-02-28T19:18:11Z")

</div>

I couldnt tell you how to do it in python - but as a direct post call in order to update the category I have done the following:

Key:Value  
permissions[ADDGROUPNAMEHERE]:1  
1/2/3 being the permission level - Create Reply See / Reply See / See

> Essentially trying to make a category read only. So user can only just see and reply to posts already created.

You cannot make it read only whilst allowing them to reply to posts too - With that you would have to set Reply See permissions which is Value 2 I believe

---

_[View the full topic](https://meta.discourse.org/t/group-permissions-using-api-in-python/81813)._
