Skip to content

Delete Classes

Endpoint used to delete a class linked to a specific school in Toolzz LMS.

Warning: This endpoint will only work correctly if the domain of your institution is manually provided in the URL. Otherwise, the endpoint may fail or return a validation error.

Terminal window
curl --request DELETE \
--url 'https://{your-institution-domain}/api/v1/schools/{schoolId}/classrooms/{classroomId}?hasConfirmation=true' \
--header 'Authorization: Bearer <token>'
{
"success": true,
"message": "Classroom deleted successfully"
}

ParameterTypeDescriptionRequired
AuthorizationStringAccess token (“Bearer” must be before the token)Yes
ParameterTypeDescriptionRequired
schoolIdstringIdentifier of the school to which the class to be deleted is associated.Yes
classroomIdstringIdentifier of the class to be deleted.Yes
ParameterTypeDescriptionRequired
hasConfirmationstringSecurity key to confirm class deletion. E.g., true or false.Yes

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.