Description Usage Arguments Value Examples
View source: R/simple_functions.R
Deletes a specified section_enrollment from a section in a course. This does not mean a user will be unenrolled from the course, only from the section. You are able to either conclude, delete, inactivate or deactivate the enrollment.
Deletes a specified section_enrollment from a section in a course. This does not mean a user will be unenrolled from the course, only from the section. You are able to either conclude, delete, inactivate or deactivate the enrollment.
1 2 3 | delete_section_enrollments(course_id, enrollment_id, task)
delete_section_enrollments(course_id, enrollment_id, task)
|
course_id |
the canvas id of the course (integer) |
enrollment_id |
the canvas user_id of the section enrollment (integer) |
task |
action to take on the enrollment "conclude", "delete", "inactivate" or "deactive" (character) |
server response. Either 200 status code if everything went correctly or a specific http status warning.
server response. Either 200 status code if everything went correctly or a specific http status warning.
1 2 3 | delete_section_enrollments(6348, 12345, "delete")
delete_section_enrollments(6348, 12345, "delete")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.