Description Usage Arguments Value Examples
View source: R/delete_sections.R
This function allows to completely delete user created sections from a course. SIS created section will remain intact. The function first empties a section by deleting all section enrollments and then removing the section. Please note that this will not delete a user from a course. The function allows to either delete all sections from a course by default, or a specified id's
1 | delete_sections(course_id, section_ids = "all")
|
course_id |
the canvas id of the course (integer) |
section_ids |
all by default or specify by entering canvas ids of the sections |
server response. Either 200 status code if everything went correctly or a specific http status warning.
1 | delete_sections(6348)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.