Removes a student from a specific class.
DELETE
/classes/{classId}/students/{studentId}
curl \
--request DELETE 'https://api.huy-devops.site/api/classes/{classId}/students/{studentId}' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (404)
{
"success": false,
"code": 42,
"errorCode": "string",
"message": "string",
"timestamp": "2026-05-04T09:42:00Z"
}
Response examples (500)
{
"success": false,
"code": 42,
"errorCode": "string",
"message": "string",
"timestamp": "2026-05-04T09:42:00Z"
}