create_section_in_course: Create a section in a course

View source: R/simple_functions.R

create_section_in_courseR Documentation

Create a section in a course

Description

This function creates a section in a Canvas course

Usage

create_section_in_course(
  course_id,
  name,
  sis_section_id = NULL,
  integration_id = NULL,
  start_at = NULL,
  end_at = NULL,
  restrict_enrollments_to_section_dates = NULL,
  enable_sis_reactivation = NULL
)

Arguments

course_id

the canvas id of the course (integer)

name

the name of the section (string/character)

sis_section_id

the sis id of the section (integer)

integration_id
start_at

start date of the section

end_at

end date of the section

restrict_enrollments_to_section_dates

restrict enrollments to a specific date

enable_sis_reactivation

Value

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

Examples


create_section_in_course(course_id = 6824, name = "Werkgroep_1")

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