create_course_group_in_category: create_course_group_in_category

View source: R/simple_functions.R

create_course_group_in_categoryR Documentation

create_course_group_in_category

Description

Creates a group in a predefined Canvas group category

Usage

create_course_group_in_category(
  groupcat_id,
  name,
  description = NULL,
  is_public = NULL,
  join_level = NULL,
  storage_quota_mb = NULL,
  sis_group_id = NULL
)

Arguments

groupcat_id

the canvas id of the group category (integer)

name

the name of the group(string/character)

description

a description of the group (string/character)

is_public

make the group public (boolean)

storage_quota_mb

storage quota of the group page in megabytes (integer)

sis_group_id

the sis id of the group (integer)

Value

server response. Either 200 status code if everything went correctly or a specific http status warning.

Examples


create_course_group_in_category(6348, "Werkgroepen_1")
create_course_group_in_category(groupcat_id = 6348, name = "Werkgroepen_1", is_public = T, storage_quota_mb = 20)

ICTO-FMG/uvacanvas documentation built on Dec. 6, 2024, 2:32 p.m.