/i/groups/create

Create a new group

New group's data is provided in args parameter as stringified JSON. Key-value pairs in this JSON object is as follows:

name/keyrequired?typedescription
nameyesStringName of the group
groupIDyesStringID of group. Typically name of group lowercased and special chars removed. Example:
name: "Junior Developers (test)"
groupID: "junior-developers-test"
global_adminyesBooleanIf group users are given global admin privileges.
admin_ofnoArray[String]Array of app ids where group users are given admin privileges.
user_ofnoArray[String]Array of app ids where group users are given user privileges.

Here is an example of args object:

{
  "name": "developers",
  "groupID": "developers",
  "global_admin": false,
  "user_of": [
    "58650a47cc2ed563c5ad964c"   // APP_ID
  ]
}
Language
Authorization
Basic
base64
: