QuickSense API
  • Introduction
  • Authentication
  • Errors
  • Core Resources
    • Enrolments
      • The enrolment object
      • Create a user and add into a course
      • Create a user and add into a classroom
      • Remove user from a course
      • Remove user from a classroom
    • Users
      • The user object
      • Retrieve a user
      • Update a user
      • Delete a user
      • List all users
    • Courses/Classrooms
      • The courses object
      • List all clasrooms/courses
Powered by GitBook
On this page

Was this helpful?

  1. Core Resources
  2. Enrolments

Remove user from a course

Remove/Unenroll a user from particular course

Remove from course

DELETE https://api.quicksense.org/api/v2/public/enrol/

De-register a user by course ID

Headers

Name
Type
Description

Email

string

User's email address

ApiKey

string

School's API Key

Request Body

Name
Type
Description

Courses

array

String array containing courses to unenroll from

{
    firstName: string,
    lastName: string,
    Email: string,
    lastLogin: datetime,
    enrolledClasses: [
        ...
        {
            courseId: string,
            courseName: string,
            classId: string,
            className: string
       },     
       ...,
     ],
     failedToUnEnroll: [
       ...
       {
           courseId: string,
           message: string,
       },
       ...
     ]   
  }
PreviousCreate a user and add into a classroomNextRemove user from a classroom

Last updated 4 years ago

Was this helpful?