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 classroom

Remove/Unenroll a user from particular classroom by ID

Remove from Classroom by ID

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

This endpoint allows you to get free cakes.

Headers

Name
Type
Description

ApiKey

string

School's API Key

Email

string

User's Email address

Request Body

Name
Type
Description

array

Array of classroom IDs to unenroll from

{

    firstName: string,
    lastName: string,
    Email: string,
    lastLogin: datetime,
    enrolledClasses: [
        ...
        {
            courseId: string,
            courseName: string,
            classId: string,
            className: string
       },
       ...
   ]
  }
{
    status: 400,
    message: "No enrolled classroom found for the user!"
}

PreviousRemove user from a courseNextUsers

Last updated 4 years ago

Was this helpful?