# 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:** 3

<div class="post-metadata">

**Author:** ![David\_fs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david_fs/32/88716_2.png) [@David\_fs](https://meta.discourse.org/u/David_fs)\
**Post date:** [March 1, 2018, 2:52pm UTC](https://meta.discourse.org/t/group-permissions-using-api-in-python/81813/3 "2018-03-01T14:52:04Z")

</div>

Thanks - the values were a touch confusing, this helped.

So this:

```
permissions[ADDGROUPNAMEHERE]:1 

```

is essentially a dictionary in python. Similar to an associative array in PHP or a Hash in Ruby. So like:

```
{ permission: {'admin':1, 'everyone':2} }

```

Butt I am struggling for the params to take. Whats frustrating is I am getting no errors 😕

---

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