| create_group_category | R Documentation | 
Does not work yet. Returns 422. Unclear how to fix.
create_group_category(
  context_id,
  context_type = "courses",
  cat_name,
  self_signup = NULL,
  auto_leader = NULL,
  group_limit = NULL,
  create_group_count = NULL
)
| context_id | Context id | 
| context_type | Context type | 
| cat_name | Name of the group category. Required. | 
| self_signup | Allow students to sign up for a group themselves (Course Only). valid values are: “enabled”, allows students to self sign up for any group in course; “restricted” allows students to self sign up only for groups in the same section null disallows self sign up | 
| auto_leader | Assigns group leaders automatically when generating and allocating students to groups. Valid values are: “first” the first student to be allocated to a group is the leader; “random” a random student from all members is chosen as the leader | 
| group_limit | Limit the maximum number of users in each group (Course Only). Requires self signup. | 
| create_group_count | Create this number of groups (Course Only). | 
invisible
create_group_category(1350207, "courses", "FinalProjectGroup",
"enabled", "first", 3, 48)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.