Endpoint used to indicate a class and send one or more student objects to remove them from the class in Toolzz LMS.
--url ' https://kong.api.toolzz.com.br/api/classes/{class_id}/detach ' \
--header ' Authorization: Bearer <token> ' \
--header ' Content-Type: application/json ' \
"email": "student@example.com"
"message" : " Students unenrolled successfully "
Parameter Type Description Required AuthorizationString Access token (“Bearer” must be before the token) Yes
Parameter Type Description Required class_idstring Identifier of the class from which the student(s) will be unenrolled. Yes
Parameter Type Description Required usersarray List of users to be removed from the class. Alternatively, a list with the emails of already registered students on the platform. Yes users.namestring Name of the student to be removed. Yes users.emailstring Email address of the student to be removed. Yes idstring Identifier of the student to be removed from the class. No institution_codestring Subdomain of the desired institution. No
To access this endpoint, it is necessary to send a valid access token through the authorization header (Authorization) of the request. Additionally, the API is protected by other security measures to safeguard user data.